diff options
author | Jose Galisteo <ceritium@gmail.com> | 2021-09-01 09:34:21 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-17 20:46:18 +0900 |
commit | b45fe48fbb20e334ef6dd1a85d5b7a37e6701d40 (patch) | |
tree | 6d57180c7b4c7941b10800f30fd341d189422249 /lib/bundler/cli/remove.rb | |
parent | fd918d1afa89405c194e90476373f936b3577df0 (diff) |
[rubygems/rubygems] Trigger install command by default on remove
Closes https://github.com/rubygems/rubygems/issues/4889
https://github.com/rubygems/rubygems/commit/2b1754479c
Diffstat (limited to 'lib/bundler/cli/remove.rb')
-rw-r--r-- | lib/bundler/cli/remove.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/cli/remove.rb b/lib/bundler/cli/remove.rb index cd6a2cec28..44a4d891dd 100644 --- a/lib/bundler/cli/remove.rb +++ b/lib/bundler/cli/remove.rb @@ -11,8 +11,7 @@ module Bundler raise InvalidOption, "Please specify gems to remove." if @gems.empty? Injector.remove(@gems, {}) - - Installer.install(Bundler.root, Bundler.definition) if @options["install"] + Installer.install(Bundler.root, Bundler.definition) end end end |