Skip to content
Snippets Groups Projects
Commit ce5ffed6 authored by Holger Just's avatar Holger Just
Browse files

Require bundler 1.0.6.

Only that version introduced the mingw platforms we use in our Gemfile.
parent 261aca65
No related merge requests found
...@@ -19,9 +19,9 @@ rescue LoadError ...@@ -19,9 +19,9 @@ rescue LoadError
raise "Could not load the bundler gem. Install it with `gem install bundler`." raise "Could not load the bundler gem. Install it with `gem install bundler`."
end end
if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.24") if Gem::Version.new(Bundler::VERSION) < Gem::Version.new("1.0.6")
raise RuntimeError, "Your bundler version is too old for Rails 2.3." + raise RuntimeError, "Your bundler version is too old. We require " +
"Run `gem install bundler` to upgrade." "at least version 1.0.6. Run `gem install bundler` to upgrade."
end end
begin begin
...@@ -29,6 +29,6 @@ begin ...@@ -29,6 +29,6 @@ begin
ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__) ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__)
Bundler.setup Bundler.setup
rescue Bundler::GemNotFound rescue Bundler::GemNotFound
raise RuntimeError, "Bundler couldn't find some gems." + raise RuntimeError, "Bundler couldn't find some gems. " +
"Did you run `bundle install`?" "Did you run `bundle install`?"
end end
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment