diff .svn/pristine/ca/cae05f836fa0aba3f92054c65c73c78f356b7faf.svn-base @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.svn/pristine/ca/cae05f836fa0aba3f92054c65c73c78f356b7faf.svn-base	Fri Jun 14 09:02:21 2013 +0100
@@ -0,0 +1,20 @@
+begin
+  require "rubygems"
+  require "bundler"
+rescue LoadError
+  $stderr.puts "Redmine requires Bundler. Please install it with `gem install bundler`."
+  exit 1
+end
+
+if Gem::Version.new(Bundler::VERSION) < Gem::Version.new("1.0.21")
+  $stderr.puts "Redmine requires Bundler 1.0.21 (you're using #{Bundler::VERSION}).\nPlease install a newer version with `gem install bundler`."
+  exit 1
+end
+
+begin
+  ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
+  Bundler.setup
+rescue Bundler::GemNotFound
+  $stderr.puts "Some gems may need to be installed or updated.\nPlease run `bundle install --without development test`."
+  exit 1
+end