/usr/bin/ruby: no such file to load — auto_gem (LoadError)
Scott Rippee @ 8:46 pm December 17th, 2006Gentoo decided to throw me a hurdle when trying to `emerge rubygems` tonight:
CODE:
-
>>> Install rubygems-0.8.11-r5 into /var/tmp/portage/rubygems-0.8.11-r5/image/ category dev-ruby
-
/usr/bin/ruby: no such file to load -- auto_gem (LoadError)
-
/usr/bin/ruby: no such file to load -- auto_gem (LoadError)
-
-
!!! ERROR: dev-ruby/rubygems-0.8.11-r5 failed.
-
!!! Function ruby_einstall, Line 125, Exitcode 1
-
!!! setup.rb config failed
-
!!! If you need support, post the topmost build error, NOT this status message.
The solution is to clear the RUBYOPT variable:
CODE:
-
RUBYOPT="" emerge rubygems




January 30th, 2007 at 5:30 am
And this does what?
August 19th, 2007 at 11:19 am
Thanks very much.
October 5th, 2007 at 3:26 pm
Thank you! This was driving me nuts, and http://bugs.gentoo.org didn't show anything for rubygems that I found.
January 14th, 2008 at 4:07 am
This helped me repairing my ruby install... big time. Thank you!
March 12th, 2008 at 11:07 pm
Thanks! Exactly what I was looking for. I couldn't get ruby 1.9 to run on gentoo.
June 13th, 2008 at 11:18 am
Thank you very much.
It solved my problem with Ruby Enterprise Edition + Gentoo.