Commit 70ea067af3b2f43dca475ac17aa5c516432573a0

Authored by Antonio Terceiro
1 parent 369944ef

Set Rails version to 2.3.5

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
config/boot.rb
@@ -108,7 +108,7 @@ end @@ -108,7 +108,7 @@ end
108 # yeah, I know, I shouldn't change this file. But ... 108 # yeah, I know, I shouldn't change this file. But ...
109 def install_debian_rails 109 def install_debian_rails
110 local_rails = File.dirname(__FILE__) + '/../vendor/rails' 110 local_rails = File.dirname(__FILE__) + '/../vendor/rails'
111 - debian_rails = '/usr/share/rails' 111 + debian_rails = '/usr/share/rails-ruby1.8'
112 if !File.exist?(local_rails) && File.exists?(debian_rails) 112 if !File.exist?(local_rails) && File.exists?(debian_rails)
113 puts "I: Installing Debian-installed Rails from /usr/share/rails into vendor/rails." 113 puts "I: Installing Debian-installed Rails from /usr/share/rails into vendor/rails."
114 recommended_rails_version = Rails::GemBoot.gem_version 114 recommended_rails_version = Rails::GemBoot.gem_version
config/environment.rb
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 #ENV['RAILS_ENV'] ||= 'production' 5 #ENV['RAILS_ENV'] ||= 'production'
6 6
7 # Specifies gem version of Rails to use when vendor/rails is not present 7 # Specifies gem version of Rails to use when vendor/rails is not present
8 -RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION 8 +RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
9 9
10 # Bootstrap the Rails environment, frameworks, and default configuration 10 # Bootstrap the Rails environment, frameworks, and default configuration
11 require File.join(File.dirname(__FILE__), 'boot') 11 require File.join(File.dirname(__FILE__), 'boot')