From: Eric Hodel Date: 2011-07-09T08:47:13+09:00 Subject: [ruby-core:37902] [Ruby 1.9 - Bug #4485] Gem.bin_path('rake') does not return the path of the system-installed rake Issue #4485 has been updated by Eric Hodel. File rbinstall.rb.gem_executables.diff added The attached patch adds executables to the stub gemspecs and installs a copy of bin/rake into the gem directory. Can I have it reviewed? ---------------------------------------- Bug #4485: Gem.bin_path('rake') does not return the path of the system-installed rake http://redmine.ruby-lang.org/issues/4485 Author: Erik Hollensbe Status: Assigned Priority: Normal Assignee: Eric Hodel Category: Target version: 1.9.3 ruby -v: 1.9.2 =begin Please see subject. You can see this evident in rubygems-test version 0.3.8 and lower, where bin_path is used to retrieve the rake path. In systems where a suffix is appended to the ruby version (e.g., ruby19/rake19/gem19), you will see that it is unable to locate the path via bin_path. =end -- http://redmine.ruby-lang.org