ruby-changes:62491
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:09:03 +0900 (JST)
Subject: [ruby-changes:62491] a9b044e97b (master): [rubygems/rubygems] Setup no longer generates formatted executables by default
https://git.ruby-lang.org/ruby.git/commit/?id=a9b044e97b From a9b044e97b710a30f0598b6f85da29217471f030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Wed, 15 Jul 2020 08:38:08 +0200 Subject: [rubygems/rubygems] Setup no longer generates formatted executables by default Catch up with that change in `gem update --system` tests. https://github.com/rubygems/rubygems/commit/127ba14344 diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb index c3c6644..050c1ce 100644 --- a/test/rubygems/test_gem_commands_setup_command.rb +++ b/test/rubygems/test_gem_commands_setup_command.rb @@ -220,7 +220,7 @@ class TestGemCommandsSetupCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_setup_command.rb#L220 assert_path_exists File.join(bin_dir, "#{e}.bat") end - assert_path_exists File.join bin_dir, Gem.default_exec_format % e + assert_path_exists File.join bin_dir, e end default_dir = Gem.default_specifications_dir @@ -266,7 +266,7 @@ class TestGemCommandsSetupCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_setup_command.rb#L266 assert_path_exists File.join(bin_dir, "#{e}.bat") end - assert_path_exists File.join bin_dir, Gem.default_exec_format % e + assert_path_exists File.join bin_dir, e end end end @@ -411,12 +411,10 @@ class TestGemCommandsSetupCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_setup_command.rb#L411 end def default_gem_bin_path - gem_exec = sprintf Gem.default_exec_format, 'gem' - File.join @install_dir, 'bin', gem_exec + File.join @install_dir, 'bin', 'gem' end def default_bundle_bin_path - bundle_exec = sprintf Gem.default_exec_format, 'bundle' - File.join @install_dir, 'bin', bundle_exec + File.join @install_dir, 'bin', 'bundle' end end unless Gem.java_platform? -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/