Have Rails 2.3.x ignore the i18n gem

后端 未结 4 773
慢半拍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:47

    1. Freeze the rails version: rake VERSION=2.3.5 rails:freeze:gems
    2. Fix the version in the file vendor/rails/activesupport/lib/active_support/vendor.rb line 24 to: gem 'i18n', '>= 0.1.3', '< 0.4.0'

提交回复
热议问题