Bug #7581
closedDTrace test should be executed against RUNRUBY
Description
Currently, the DTrace tests are executed using system Ruby [1], which is apparently wrong, since system Ruby might be of different version or may not be available. The tests should be executed against RUNRUBY, which were just build.
[1] https://github.com/ruby/ruby/blob/trunk/test/dtrace/helper.rb#L29
Updated by naruse (Yui NARUSE) over 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r38424.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
Use EnvUtil.rubybin instead of Gem.ruby
[ruby-core:50943] [Bug #7581]
Updated by vo.x (Vit Ondruch) over 12 years ago
Thank you for the fix.
Just wondering, if will it work with dynamically linked ruby as well? I am testing the functionality on Linux with dynamic linking and SystemTap and there I have to specify path to the library. Not sure if DTrace works the same, since I have no Mac nor Solaris available.
Updated by naruse (Yui NARUSE) over 12 years ago
vo.x (Vit Ondruch) wrote:
Thank you for the fix.
Just wondering, if will it work with dynamically linked ruby as well? I am testing the functionality on Linux with dynamic linking and SystemTap and there I have to specify path to the library. Not sure if DTrace works the same, since I have no Mac nor Solaris available.
Sorry, I don't know.