when I install the package the error occurs. * Package: www-apache/passenger-5.1.12 * Repository: gentoo * Maintainer: graaff@gentoo.org ruby@gentoo.org * USE: abi_x86_64 amd64 apache2 elibc_glibc kernel_linux ruby_targets_ruby22 ruby_targets_ruby23 userland_GNU * FEATURES: preserve-libs sandbox usersandbox >>> Unpacking source... >>> Unpacking passenger-5.1.12.tar.gz to /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work/all >>> Source unpacked in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work >>> Preparing source in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work ... * Running prepare phase for all ... * Running prepare phase for all ... * Applying passenger-5.1.11-gentoo.patch ... [ ok ] * Applying passenger-5.1.1-isnan.patch ... [ ok ] * Running source copy phase for ruby22 ... * Running source copy phase for ruby23 ... >>> Source prepared. >>> Configuring source in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work ... >>> Source configured. >>> Compiling source in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work ... * Running compile phase for ruby22 ... /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:280:in `find_spec_for_exe': can't find gem rake ([">= 0.a"]) with executable rake (Gem::GemNotFoundException) from /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:299:in `activate_bin_path' from /usr/local/bin/rake:23:in `<main>' * ERROR: www-apache/passenger-5.1.12::gentoo failed (compile phase): * rake failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 4820: Called ruby-ng_src_compile * environment, line 4605: Called _ruby_each_implementation 'each_ruby_compile' * environment, line 517: Called _ruby_invoke_environment 'ruby22' 'each_ruby_compile' * environment, line 642: Called each_ruby_compile * environment, line 998: Called die * The specific snippet of code: * V=1 EXTRA_LDFLAGS="${LDFLAGS}" APXS2="${APXS}" HTTPD="${APACHE_BIN}" FS_LIBDIR='/usr/'$(get_libdir) USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" ${RUBY} -S rake native_support || die "rake failed" * * If you need support, post the output of `emerge --info '=www-apache/passenger-5.1.12::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-apache/passenger-5.1.12::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =passenger-5.1.12 * The complete build log is located at '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/temp/build.log'. * The ebuild environment file is located at '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/temp/environment'. * Working directory: '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/work/ruby22/passenger-5.1.12' * S: '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/work/ruby22/passenger-5.1.12'
while in the system is set =rake-12.0.0
Please attach the output of $(emerge --info).
Created attachment 526894 [details] emerge --info
there was a new version 5.2.2 compilation with this version was successful
dev-ruby/rake is a built-time dependency so this should be present. Perhaps an issue with the eselected ruby not matching RUBY_TARGETS? Please re-open if this still happens.