From: Greg Millam Date: 2005-01-17T16:01:20+09:00 Subject: Re: require of a .file Nicholas Van Weerdenburg wrote: > I'm attempting to do a user config file as a ruby script to be > required- e.g. ~/.myrc > > load ENV['HOME'] + "/.myrc" > works, but "require" fails in its place saying it can't find .myrc. Is > this a bug in require? 'require' tacks on ".rb" and ".so" to the filename to find it. So unless it's named ".myrc.rb," require won't find it. - Greg