diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-27 16:34:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-27 16:34:42 +0000 |
commit | c72b53a8fa3c01ff0a80b34317fef80d97ee9c97 (patch) | |
tree | 17041804454e692fae6bf67b6975cc9019be520a /config/environment.rb | |
parent | a73f68a185df00db1aaa153f576f106ee752c54d (diff) | |
download | redmine-c72b53a8fa3c01ff0a80b34317fef80d97ee9c97.tar.gz redmine-c72b53a8fa3c01ff0a80b34317fef80d97ee9c97.zip |
Forces Redmine to use rails 2.0.2 gem when vendor/rails is not present.
If you don't want to upgrade rails gem, freeze Redmine by running the following command in your Redmine directory:
rake rails:freeze:edge TAG=rel_2-0-2
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1366 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb index 2d581168b..7878eca47 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -4,6 +4,9 @@ # you don't control web/app server and can't set it the proper way # ENV['RAILS_ENV'] ||= 'production' +# Specifies gem version of Rails to use when vendor/rails is not present +RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION + # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') |