bin/bundle in bundler-0.9.4 vs bin/bundle in bundler-0.9.5
- old
+ new
@@ -1,4 +1,11 @@
+# Check if an older version of bundler is installed
+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`."
+ end
+end
require 'bundler/cli'
begin
Bundler::CLI.start
rescue Bundler::BundlerError => e
\ No newline at end of file