##// END OF EJS Templates
prevent i18n deprecated warning...
prevent i18n deprecated warning i18n 0.6.4 on Rails 3.2.16 changes behavior. https://github.com/svenfuchs/i18n/commit/3b6e56e06fd70f6e4507996b017238505e66608c git-svn-id: http://svn.redmine.org/redmine/trunk@12365 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8792:21617889e8d3
r12110:f1175fda70b9
Show More
preinitializer.rb
20 lines | 649 B | text/x-ruby | RubyLexer
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