When one tries to install a ruby gem using gem install gem_name, he always gets an error saying rake18: command not found (tested with sup, ncursesw). To 'fix' it a following symlink suffices: ln -s /usr/bin/rake /usr/bin/rake18 NOTE: I installed the latest ruby from ~x86 branch. Reproducible: Always Steps to Reproduce: 1.Issue command gem install sup with ~x86 ruby Actual Results: I got an output: rake18: command not found Expected Results: Install a gem.
*** Bug 327841 has been marked as a duplicate of this bug. ***
*** Bug 327839 has been marked as a duplicate of this bug. ***
I could choose between NEEDINFO and INVALID, but I'll go with the former since there is no emerge --info. We really don't support using the gem command to install gems...
I have a same problem. With gem ffi (dependency of rubygame). I will try to attach some files with more information (emerge --info, install log ...). I think that it is some kind of system misconfiguration etc, because i didn't found any trace of missing rake18 command inside directory of failing gem. So something has to say "use rake18 instead of rake" but it's wrong because there is no (missing?) rake18 on my system. If i created symlink /usr/bin/rake18 pointing to /usr/bin/rake as mentioned in this bug everything works ok. -- OT question: -- Installing gems using 'gem install' is not supported? Did you mean that you are not gems-hotline or that using gem install(...) is discouraged on gentoo, so ruby-gems should be limited to packages contained in portage? What should i do if i want these gems (in this case rubygame and deps: ffi, nice-ffi, ruby-sdl-ffi). Is there easy way how to prepare ebuild for ruby gem?
Created attachment 248093 [details] output of "emerge --info"
Created attachment 248095 [details] output of "eix -IA ruby"
Created attachment 248096 [details] list of installed gems "gem list --local"
Created attachment 248098 [details] output of "gem install rubygame --verbose --backtrace" I'm not sure if this will help much, but here is how this bug looks like. For purpose of creating this bugs attachment i invoked it with LANG=C LC_ALL=C prepended (result is same). Content of at the end mentioned gem_make.out file is already contained in this attachment but here it is: rake18 RUBYARCHDIR=/usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib RUBYLIBDIR=/usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib sh: rake18: command not found