Bug #5114

rake's tests imply the binary name of ruby

Added by Yui NARUSE over 2 years ago. Updated over 2 years ago.

[ruby-core:38597]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:lib
Target version:1.9.3
ruby -v:ruby 1.9.4dev (2011-07-28 trunk 32725) [x86_64-freebsd8.2] Backport:

Description

As Jeremy reported on , current rake tests imply the binary name of ruby as "ruby".
They should use /#{Regexp.quote(RUBY)} -e/ as znz says on .

test-rake.diff Magnifier (2.7 KB) Jeremy Evans, 07/30/2011 03:25 AM

Associated revisions

Revision 32797
Added by Eric Hodel over 2 years ago

  • test/rake/testrakefunctional.rb: Don't assume the binary name of ruby is "ruby". [Ruby 1.9 - Bug #5114]
    • test/rake/helper.rb: ditto

History

#1 Updated by Jeremy Evans over 2 years ago

Here's the patch I'm using to fix the rake test issues.

#2 Updated by Eric Hodel over 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r32797.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • test/rake/testrakefunctional.rb: Don't assume the binary name of ruby is "ruby". [Ruby 1.9 - Bug #5114]
    • test/rake/helper.rb: ditto

Also available in: Atom PDF