diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-04-08 21:10:33 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-08 14:13:29 +0900 |
commit | 90427875085f480c4c8e02d4252804cac29d7aaa (patch) | |
tree | 20f22796a51a88a0eddbd3e44180826595d8e494 /lib | |
parent | c6979feb02385d84c3268fd44690282e53ac61ce (diff) | |
download | ruby-90427875085f480c4c8e02d4252804cac29d7aaa.tar.gz |
[rubygems/rubygems] Remove unnecessary `@@ruby` variable
https://github.com/rubygems/rubygems/commit/5f20647ec1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/test_case.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index f1f6b853a4..b4d8db317c 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -1220,7 +1220,7 @@ Also, a list: def build_rake_in(good=true) gem_ruby = Gem.ruby - Gem.ruby = @@ruby + Gem.ruby = self.class.rubybin env_rake = ENV["rake"] rake = (good ? @@good_rake : @@bad_rake) ENV["rake"] = rake @@ -1289,7 +1289,6 @@ Also, a list: end - @@ruby = rubybin @@good_rake = "#{rubybin} #{escape_path(TEST_PATH, 'good_rake.rb')}" @@bad_rake = "#{rubybin} #{escape_path(TEST_PATH, 'bad_rake.rb')}" |