Ruby require fails

Posted by Overdose on Stack Overflow See other posts from Stack Overflow or by Overdose
Published on 2010-04-23T18:39:14Z Indexed on 2010/04/23 18:43 UTC
Read the original article Hit count: 356

Filed under:
|

I don't get it why. I have foo.rb and test.rb in the same folder. I tried

require 'Foo'
require 'foo'
require 'foo.rb'

in test.rb, but whatever it fails with "in `require': no such file to load -- Foo (LoadError)"

© Stack Overflow or respective owner

Related posts about ruby

Related posts about require