diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 18:47:26 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 18:52:22 +0100 |
commit | f5358681deda96e3862c6acae942fbf993f7b3ef (patch) | |
tree | 2ad3bbd8d2913a98649155dd31ce0ac860875c3f | |
parent | c0c5c08066051e1d74f2d863770d481d10915b2d (diff) | |
download | bundler-f5358681deda96e3862c6acae942fbf993f7b3ef.tar.gz |
Remove incorrect `raise`
The raise is using the name of the class on its message!
```
Could not find gem 'Bundler::CLI::Common'.
```
Since we've never received a WTF report about this, I'll assume this is
just dead code and remove it.
-rw-r--r-- | lib/bundler/cli/common.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bundler/cli/common.rb b/lib/bundler/cli/common.rb index f22ef6ab71..9ea52baa6b 100644 --- a/lib/bundler/cli/common.rb +++ b/lib/bundler/cli/common.rb @@ -49,10 +49,6 @@ module Bundler end def self.ask_for_spec_from(specs) - if !$stdout.tty? && ENV["BUNDLE_SPEC_RUN"].nil? - raise GemNotFound, gem_not_found_message(name, Bundler.definition.dependencies) - end - specs.each_with_index do |spec, index| Bundler.ui.info "#{index.succ} : #{spec.name}", true end |