aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/cli/doctor.rb
diff options
context:
space:
mode:
authorMisty De Meo <mistydemeo@github.com>2016-08-02 11:20:37 +1000
committerMisty De Meo <mistydemeo@github.com>2016-08-02 12:41:40 +1000
commit5d236a989f2f582800a754114224465784d662a8 (patch)
tree871d0b1a34ec6bceaffad31254368611af59baef /lib/bundler/cli/doctor.rb
parent1f2d9c5958924abc96da10033d6fb4dc5aa49816 (diff)
downloadbundler-5d236a989f2f582800a754114224465784d662a8.tar.gz
doctor: gems not being installed isn't fatal
Diffstat (limited to 'lib/bundler/cli/doctor.rb')
-rw-r--r--lib/bundler/cli/doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/doctor.rb b/lib/bundler/cli/doctor.rb
index df49315b..b8aac1a3 100644
--- a/lib/bundler/cli/doctor.rb
+++ b/lib/bundler/cli/doctor.rb
@@ -66,9 +66,9 @@ module Bundler
not_installed = definition.missing_specs
raise GemNotFound if not_installed.any?
rescue GemNotFound
- Bundler.ui.error "This bundle's gems must be installed to run this command."
+ Bundler.ui.warn "This bundle's gems must be installed to run this command."
Bundler.ui.warn "Install missing gems with `bundle install`."
- exit 2
+ exit 0
end
definition.specs.each do |spec|