Has ruby 2.5 been tested with Rails 4.2?

社会主义新天地 提交于 2019-12-24 21:06:13

问题


We are looking to upgrade ruby from 2.2, but not yet Rails.

It seems that ruby 2.4 has been tested with rails 4.2, but not 2.5.

Can anyone confirm or contradict this?

Thank you!


回答1:


The first version of Rails which brings official (and tested) Ruby 2.5 support is Rails 5.1. With earlier versions of Rails, you might still be able to get it running, but will probably stumble upon roadblocks sooner or later.

Thus, if you need Ruby 2.5 support, you should use at least Rails 5.1. If you need to use earlier versions of Rails, use it with Ruby 2.4. Rails supports Ruby 2.4 since version 4.2.8.



来源:https://stackoverflow.com/questions/53213498/has-ruby-2-5-been-tested-with-rails-4-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!