see Summary... Reproducible: Always Steps to Reproduce: 1.emerge actionmailer Actual Results: >>> Install actionmailer-0.9.1 into /var/tmp/portage/actionmailer-0.9.1/image/ category dev-ruby Attempting local installation of '/usr/portage/distfiles/actionmailer-0.9.1' Successfully installed actionmailer, version 0.9.1 Installing RDoc documentation for actionmailer-0.9.1... ERROR: While executing gem ... (NoMethodError) undefined method `as_href' for nil:NilClass !!! ERROR: dev-ruby/actionmailer-0.9.1 failed. !!! Function gems_src_install, Line 53, Exitcode 1
What version of rubygems do you have emerged? Does it fail if you install it without the ebuild: gem update actionmailer
rubygems is 0.8.10 (which i just removed and installed it again). activerecord-1.10.1 has the same problem. i'll try to install it with gem if you promise that "gem uninstall" works and it doesn't pollute the system so that ebuilds fail... 1> gem install actionmailer Attempting local installation of 'actionmailer' Local gem file not found: actionmailer*.gem Attempting remote installation of 'actionmailer' Successfully installed actionmailer-0.9.1 Installing RDoc documentation for actionmailer-0.9.1... ERROR: While executing gem ... (NoMethodError) undefined method `as_href' for nil:NilClass
I am having the same problem with activerecord-1.9.1 and rubygems-0.8.10.
Possible fix: emerge -C rdoc emerge activerecord actionmailer Without dev-ruby/rdoc-0.9.0 installed, I was able to emerge activerecord, actionmailer (and everything else that rails wants) on both AMD64 and x86. With rdoc, this fails on x86.
(In reply to comment #4) > Possible fix: > > emerge -C rdoc Looking at the RDoc homepage ( http://sourceforge.net/projects/rdoc/ ), this project has been incorporated into Ruby Core. Could this be causing the problem?
*** Bug 106624 has been marked as a duplicate of this bug. ***
I've committed a fix to gems.eclass which should make you unmerge dev-ruby/rdoc before installing any gems package (since ruby 1.8.2 is a prerequisite anyway)
believe it to be fixed now