Permalink
Browse files

Merge pull request #1911 from dougbarth/bundler

---

The --force option was incorrectly stating that it forces a clean if --path IS set. It actually forces a clean if --path is NOT set.
  • Loading branch information...
2 parents 9b5088c + da65175 commit cab369dc7c4006922ed70a11f985d11d69f355d8 @hone hone committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/cli.rb
View
@@ -619,7 +619,7 @@ def self.source_root
desc "clean", "Cleans up unused gems in your bundler directory"
method_option "force", :type => :boolean, :default => false, :banner =>
- "forces clean even if --path is set"
+ "forces clean even if --path is not set"
def clean
if Bundler.settings[:path] || options[:force]
Bundler.load.clean

0 comments on commit cab369d

Please sign in to comment.