Mercurial > hg > soundsoftware-site
comparison config/boot.rb @ 514:7eba09d624db live
Merge
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:50:53 +0100 |
parents | af80e5618e9b |
children | cbb26bc654de |
comparison
equal
deleted
inserted
replaced
512:b9aebdd7dd40 | 514:7eba09d624db |
---|---|
104 end | 104 end |
105 end | 105 end |
106 end | 106 end |
107 end | 107 end |
108 | 108 |
109 # TODO: Workaround for #7013 to be removed for 1.2.0 | |
110 # Loads i18n 0.4.2 before Rails loads any more recent gem | |
111 # 0.5.0 is not compatible with the old interpolation syntax | |
112 # Plugins will have to migrate to the new syntax for 1.2.0 | |
113 require 'rubygems' | |
114 begin | |
115 gem 'i18n', '0.4.2' | |
116 rescue Gem::LoadError => load_error | |
117 $stderr.puts %(Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`) | |
118 exit 1 | |
119 end | |
120 | |
109 # All that for this: | 121 # All that for this: |
110 Rails.boot! | 122 Rails.boot! |