Changed the require_gem lines in environment.rb to guard against the routing-based changes in the next version of Rails. This should just be a temporary measure, but currently makes Tracks use v. 1.6.0 of ActiveRecord, 1.4.0 of Actionpack, 0.6.1 of ActionMailer, and 0.9.5 of Rails.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@25 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
bsag 2005-02-15 21:34:21 +00:00
parent d89ad2f42b
commit 32f7edcd99

View file

@ -24,11 +24,13 @@ ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(di
# Require Rails gems.
# Restricted the usuable versions of Rails gems to guard against the new routing
# features in Rails
require 'rubygems'
require_gem 'activerecord'
require_gem 'actionpack'
require_gem 'actionmailer'
require_gem 'rails'
require_gem 'activerecord', '<= 1.6.0'
require_gem 'actionpack', '<= 1.4.0'
require_gem 'actionmailer', '<= 0.6.1'
require_gem 'rails', '<= 0.9.5'
# Environment-specific configuration.