* test/ruby/envutil.rb: fix the check if instance method `ruby' is
defined or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
34bcba57a9
commit
1d415019bd
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jan 25 21:43:05 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* test/ruby/envutil.rb: fix the check if instance method `ruby' is
|
||||||
|
defined or not.
|
||||||
|
|
||||||
Mon Jan 25 21:17:32 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
Mon Jan 25 21:17:32 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* test/ruby/test_rubyoptions.rb (test_segv_test): add a test for
|
* test/ruby/test_rubyoptions.rb (test_segv_test): add a test for
|
||||||
|
@ -208,7 +208,7 @@ else
|
|||||||
module RbConfig
|
module RbConfig
|
||||||
@ruby = EnvUtil.rubybin
|
@ruby = EnvUtil.rubybin
|
||||||
class << self
|
class << self
|
||||||
undef ruby if defined?(ruby)
|
undef ruby if instance_methods.include?(:ruby)
|
||||||
attr_reader :ruby
|
attr_reader :ruby
|
||||||
end
|
end
|
||||||
dir = File.dirname(ruby)
|
dir = File.dirname(ruby)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user