Have Rails 2.3.x ignore the i18n gem

后端 未结 4 765
慢半拍i
慢半拍i 2021-02-08 10:11

I have a Rails 2.3.5 project that uses the localization features of Rails. I also happen to have Rails 3 beta installed (which depends on the i18n gem). Rails 2.3.5 will happily

4条回答
  •  死守一世寂寞
    2021-02-08 10:40

    Or just edit: /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/vendor.rb

    And turn gem 'i18n', '>= 0.1.3'

    Into gem 'i18n', '0.1.3'

提交回复
热议问题