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
# 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')