Commit 70ea067af3b2f43dca475ac17aa5c516432573a0
1 parent
369944ef
Exists in
master
and in
23 other branches
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 | 108 | # yeah, I know, I shouldn't change this file. But ... |
| 109 | 109 | def install_debian_rails |
| 110 | 110 | local_rails = File.dirname(__FILE__) + '/../vendor/rails' |
| 111 | - debian_rails = '/usr/share/rails' | |
| 111 | + debian_rails = '/usr/share/rails-ruby1.8' | |
| 112 | 112 | if !File.exist?(local_rails) && File.exists?(debian_rails) |
| 113 | 113 | puts "I: Installing Debian-installed Rails from /usr/share/rails into vendor/rails." |
| 114 | 114 | recommended_rails_version = Rails::GemBoot.gem_version | ... | ... |
config/environment.rb
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | #ENV['RAILS_ENV'] ||= 'production' |
| 6 | 6 | |
| 7 | 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 | 10 | # Bootstrap the Rails environment, frameworks, and default configuration |
| 11 | 11 | require File.join(File.dirname(__FILE__), 'boot') | ... | ... |