Whenever Gem gives error on Ruby 1.9.3 - No Such File To Load

Posted by tackleberry on Stack Overflow See other posts from Stack Overflow or by tackleberry
Published on 2012-03-29T22:49:50Z Indexed on 2012/03/29 23:29 UTC
Read the original article Hit count: 227

Filed under:
|
|

I've used whenever gem with ruby 1.9.2 without any problems, but I installed ruby 1.9.3p125 on my server and it stopped working.

All I get below error on my cron_error.log file:

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- bundler/setup (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /home/APP_NAME/config/boot.rb:6
from script/rails:5:in `require'
from script/rails:5

I checked paths for rake, gem and ruby and everything is under "/usr/local/bin/" and my path is like below:

/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin 

I am struggling with this for hours, any help appreciated!

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rubygems