Skip to content

Commit

Permalink
Fold a line that got out of hand
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Dec 4, 2021
1 parent 7079de1 commit 49317d8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/rubygems/commands/setup_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,15 @@ def install_default_bundler_gem(bin_dir)
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
Expand Down

0 comments on commit 49317d8

Please sign in to comment.