Under emerging rubygems, the build process fails with an exception "no such file to load -- gentoo (LoadError)" - maybe gentoo-related stuff not added. On my system, RUBY_TARGET="ruby18 jruby" (see emerge --info output in attachment). Reproducible: Always Steps to Reproduce: 1. Set RUBY_TARGETS="ruby18 jruby" in make.conf 2. keyword ~amd64 to dev-ruby/rubygems 3. emerge this package Actual Results: Exception in thread "main" :1: no such file to load -- gentoo (LoadError) ...internal jruby stack elided... from (unknown).(unknown)(:1) Exception in thread "main" :1: no such file to load -- gentoo (LoadError) ...internal jruby stack elided... from (unknown).(unknown)(:1) Expected Results: Correct build & merge process
Created attachment 220191 [details] emerge --info
Created attachment 220193 [details] build log
This problem is due to upgrading from an older jruby installation without re-sourcing the profile (and thus without cleaning up the enviornment). Unfortunately, we have no way to handle that for now :/
(In reply to comment #3) > This problem is due to upgrading from an older jruby installation without > re-sourcing the profile (and thus without cleaning up the enviornment). > > Unfortunately, we have no way to handle that for now :/ > But, it can be a workaround, if pkg_setup die if older jruby installation is on system.
Note that source /etc/profile didn't work here, had to relogin (reconnect via ssh).