From: John Barnette Date: 2010-10-27T11:05:39+09:00 Subject: Re: require unable to load existing file? The current directory isn't in $LOAD_PATH. Try 'require "./models/user.rb"'. On Oct 26, 2010, at 5:34 PM, Mohammad El-abid wrote: > irb(main):001:0> File.exists? 'models/user.rb' > => true > irb(main):002:0> require 'models/user.rb' > LoadError: no such file to load -- models/user.rb > > I'm stumped! As far as I know there is no reason for it to report it as > "no such file", that if there was a problem with the file it would > report it. > > -- > Posted via http://www.ruby-forum.com/. >