summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-11-04 18:20:17 +0100
committergit <svn-admin@ruby-lang.org>2021-12-05 05:47:45 +0900
commitec28771fde883f7d2fe04b46f06556112454f4d6 (patch)
treea6d866e87aebd73df8ead1f081201b3e2f3f8228
parented7a50015adf823b105d032c8a5480ad9e6972ee (diff)
[rubygems/rubygems] Fold a line that got out of hand
https://github.com/rubygems/rubygems/commit/49317d8beb
-rw-r--r--lib/rubygems/commands/setup_command.rb11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb
index 49b05c8276..9326496fe6 100644
--- a/lib/rubygems/commands/setup_command.rb
+++ b/lib/rubygems/commands/setup_command.rb
@@ -411,8 +411,15 @@ By default, this RubyGems will install gem as:
Dir.chdir("bundler") do
built_gem = Gem::Package.build(bundler_spec)
begin
- installer = Gem::Installer.at(built_gem, env_shebang: options[:env_shebang], format_executable: options[:format_executable], force: options[:force], install_as_default: true, bin_dir: bin_dir, wrappers: true)
- installer.install
+ Gem::Installer.at(
+ built_gem,
+ env_shebang: options[:env_shebang],
+ format_executable: options[:format_executable],
+ force: options[:force],
+ install_as_default: true,
+ bin_dir: bin_dir,
+ wrappers: true
+ ).install
ensure
FileUtils.rm_f built_gem
end