Require bundler 1.0.14 to use the rbx platform in Gemfile

This commit is contained in:
Holger Just 2012-06-22 17:34:28 +02:00 committed by Kolan Sh
parent a91563e194
commit fe19c6c5be

View File

@ -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("1.0.6") if Gem::Version.new(Bundler::VERSION) < Gem::Version.new("1.0.14")
raise RuntimeError, "Your bundler version is too old. We require " + raise RuntimeError, "Your bundler version is too old. We require " +
"at least version 1.0.6. Run `gem install bundler` to upgrade." "at least version 1.0.14. Run `gem install bundler` to upgrade."
end end
begin begin