summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorAsh Wilson <ash.wilson@rackspace.com>2014-01-08 17:32:58 -0500
committerGabriel Jaldon <gjaldon85@gmail.com>2014-04-19 01:24:13 +0800
commita951bf97e5fd9eac0aad6a91c43b8fa35736492a (patch)
tree8eee9557e2e3fc3dcce2852573da9411774afd08 /lib/bundler/cli.rb
parent1e048c7cc5080a8794bcf1c730d4551df5e0ec73 (diff)
downloadbundler-a951bf97e5fd9eac0aad6a91c43b8fa35736492a.tar.gz
Autoinstall during "bundle clean".
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 8475b198fd..10fea9ca72 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -355,6 +355,7 @@ module Bundler
"forces clean even if --path is not set"
def clean
require 'bundler/cli/clean'
+ auto_install if Bundler.settings[:path] || options[:force]
Clean.new(options.dup).run
end