bundler install getting “i18n requires Ruby version >= 1.9.3”

后端 未结 1 658
醉梦人生
醉梦人生 2020-12-21 05:47

How can I correct this \"i18n requires Ruby version >= 1.9.3\" I get when I run \"bundler install\"?

Background: Need to use ruby 1.8.7 on dreamhost, so have target

相关标签:
1条回答
  • 2020-12-21 06:51

    You could try to downgrade I18n's version to 0.6.11, because that seems to be the latest version that does not require Ruby 1.9.3. To do so add this to your Gemfile

    gem 'i18n', '0.6.11'
    

    and try to run bundle install again.

    Furthermore, I suggest upgrading your Ruby and Rails versions. They are both outdated. At least you could try to run Rails 3.2 with a version of Ruby that allows the new syntax. Otherwise, you will face this kind of problems with many other gems too and - more important - you will not be able to install all the security fixes there were released during the last years.

    0 讨论(0)
提交回复
热议问题