Mercurial > hg > soundsoftware-site
comparison config/.svn/text-base/boot.rb.svn-base @ 119:8661b858af72
* Update to Redmine trunk rev 4705
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 14:12:06 +0000 |
parents | 513646585e45 |
children |
comparison
equal
deleted
inserted
replaced
39:150ceac17a8d | 119:8661b858af72 |
---|---|
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! |