summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-02-13 02:13:42 -0800
committerAndre Arko <andre@arko.net>2010-02-13 02:13:42 -0800
commitd6f3737e5bede17bdf80cddd9552bd696cf5ee26 (patch)
treea72d905fe4e6f3cb30b081ab250e07258a2c4da9
parent662098d5a3d07df163abf6363be0f9b83a25b3c9 (diff)
downloadbundler-d6f3737e5bede17bdf80cddd9552bd696cf5ee26.tar.gz
Only cleanup outdated bundlers, not all gems
-rw-r--r--bin/bundle2
-rw-r--r--spec/other/help_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/bundle b/bin/bundle
index 6fab300466..052ca6a1e1 100644
--- a/bin/bundle
+++ b/bin/bundle
@@ -2,7 +2,7 @@
require 'bundler'
$:.each do |path|
if path =~ %r'/bundler-0.(\d+)' && $1.to_i < 9
- abort "Please remove older versions of bundler. This can by running `gem cleanup`."
+ abort "Please remove older versions of bundler. This can be done by running `gem cleanup bundler`."
end
end
require 'bundler/cli'
diff --git a/spec/other/help_spec.rb b/spec/other/help_spec.rb
index fd49503a12..445b5b3358 100644
--- a/spec/other/help_spec.rb
+++ b/spec/other/help_spec.rb
@@ -5,6 +5,6 @@ describe "bundle help" do
system_gems "bundler-0.8.1"
bundle "help"
- err.should == "Please remove older versions of bundler. This can by running `gem cleanup`."
+ err.should == "Please remove older versions of bundler. This can be done by running `gem cleanup bundler`."
end
end \ No newline at end of file