mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
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:
parent
d89ad2f42b
commit
32f7edcd99
1 changed files with 6 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue