Is it possible to run Ruby on Rails with Ruby 1.9x?

前端 未结 4 818
我寻月下人不归
我寻月下人不归 2020-12-21 07:29

If so, how?

When you go to http://rubyonrails.org/download, it says:

We recommend Ruby 1.8.7 for use with Rails. Ruby 1.8.6, 1.8.5, 1.8.4 an

4条回答
  •  礼貌的吻别
    2020-12-21 08:16

    From the announcement of Rails 2.2:

    Jeremy Kemper has been rocking on both Ruby 1.9 and JRuby compatibility. Rails 2.2 is fully compatible with both, but again, there might be supporting libraries and gems that are not. Again, lots of work is going into making everything else fully compatible as well.

    Then, from the release notes for Rails 2.3:

    Rails 2.3 should pass all of its own tests whether you are running on Ruby 1.8 or the now-released Ruby 1.9.1. You should be aware, though, that moving to 1.9.1 entails checking all of the data adapters, plugins, and other code that you depend on for Ruby 1.9.1 compatibility, as well as Rails core.

提交回复
热议问题