error when emerging rubygems
I have successfully emerged ruby. When emerging rubygems I get an error:
>>> Compiling source in /var/tmp/portage/dev-ruby/rubygems-0.9.4/work/rubygems-0.9.4 ...
/usr/bin/ruby: no such file to load -- auto_gem (LoadError)
* ERROR: dev-ruby/rubygems-0.9.4 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* rubygems-0.9.4.ebuild, line 38: Called die
While searching for fix, I saw a thread that had me prepend rubyopt="" (I.e. rubyopt="" emerge rubygems).
This didnt help.
Does anyone have any suggestions?