I would like to require a file called "factories.rb":
require File.join(File.dirname(__FILE__), 'factories.rb' )
and am getting this error:
/home/sean/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems
/custom_require.rb:36:in `require': cannot load such file -- /home/sean/rand/test/factories.rb (LoadError)
I have ruby-1.9.3-p194 installed. Why does it also say 1.9.1 in the error message?