From: Luis Lavena Date: 2010-08-11T09:51:18+09:00 Subject: [ruby-core:31671] Re: [Bug #3677][Rejected] unable to run certain gem binaries' in windows 7 On Tue, Aug 10, 2010 at 5:04 PM, Roger Pack wrote: >> Good catch. �It only occurs after doing a "gem install rake" >> and it appears that it is also reproducible on XP, once you do that. > > Also able to reproduce it in Linux: > > > $ ./ruby -S rake -T > /home/rdp/installs/ruby_trunk_installed/lib/ruby/1.9.1/rubygems.rb:340:in > `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception) > � � � �from /home/rdp/installs/ruby-1.9.1-p376_installed/bin/rake:19:in `
' > $ ./ruby -v > ruby 1.9.3dev (2010-08-10 trunk 28955) [i686-linux] > Installing the gem outside Ruby (using GEM_HOME and GEM_PATH) do not generate the issue. C:\Users\Luis\Projects\oss\oci\rubyinstaller>gem env paths C:/Users/Luis/.gem/ruby/1.9.1;C:/Users/Luis/Tools/Ruby/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1 C:\Users\Luis\Projects\oss\oci\rubyinstaller>gem list rake -d *** LOCAL GEMS *** rake (0.8.7) Author: Installed at: C:/Users/Luis/Tools/Ruby/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1 This rake is bundled with Ruby C:\Users\Luis\Projects\oss\oci\rubyinstaller>rake --version C:/Users/Luis/Tools/Ruby/ruby-1.9.2-p0-i386-mingw32/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception) from C:/Users/Luis/.gem/ruby/x86-mingw32/1.9.1/bin/rake:19:in `
' C:\Users\Luis\Projects\oss\oci\rubyinstaller>set GEM GEM_HOME=C:\Users\Luis\.gem\ruby\x86-mingw32\1.9.1 GEM_PATH=C:\Users\Luis\.gem\ruby\x86-mingw32\1.9.1 C:\Users\Luis\Projects\oss\oci\rubyinstaller>gem env paths C:/Users/Luis/.gem/ruby/x86-mingw32/1.9.1 C:\Users\Luis\Projects\oss\oci\rubyinstaller>gem list rake -d *** LOCAL GEMS *** rake (0.8.7) Author: Jim Weirich Rubyforge: http://rubyforge.org/projects/rake Homepage: http://rake.rubyforge.org Installed at: C:/Users/Luis/.gem/ruby/x86-mingw32/1.9.1 Ruby based make-like utility. C:\Users\Luis\Projects\oss\oci\rubyinstaller>rake --version rake, version 0.8.7 -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry