From d6f3737e5bede17bdf80cddd9552bd696cf5ee26 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Sat, 13 Feb 2010 02:13:42 -0800 Subject: Only cleanup outdated bundlers, not all gems --- bin/bundle | 2 +- spec/other/help_spec.rb | 2 +- 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 -- cgit v1.2.1