From: Jair Rillo junior Date: 2008-01-09T23:36:09+09:00 Subject: Re: require without .rb MistryMan4000@Yahoo.com wrote: > How can I make my programs not need to be called *.rb in the require > statment? If I have a script called notepad/component.rb, how do make it > so that notepad.rb can say require "notepad/component" instead of > "notepad/component.rb"? > > Thank you Hi You do not need to put the .rb in require. Try a simple command: require "dbi" and see the result. -- Posted via http://www.ruby-forum.com/.