summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/doctor.rb
diff options
context:
space:
mode:
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 df49315b45..b8aac1a320 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|