gpt4 book ai didi

ruby-on-rails - 在 Rails 上使用 Ruby 1.9 是否可行?

转载 作者:数据小太阳 更新时间:2023-10-29 07:21:54 26 4
gpt4 key购买 nike

我读到 Ruby 1.9 比 1.8 快很多,但它似乎还没有成为 Rails 社区的标准。将 Ruby 1.9 用于新应用的优缺点是什么?

编辑说:令我感到困惑的是,虽然官方并未推荐,但似乎 2.3 带来了兼容性。只是想知道人们是否有在 1.9 中尝试大型网站的真实经验。

另外:在 1.8 中启动应用程序并在以后升级到 1.9 时会发现任何大问题。

最佳答案

不,目前还不推荐。来自 Ruby on Rails: Download :

We recommend Ruby 1.8.7 for use with Rails.

优点:

The speed and other improvements that come along with a new, faster version.

缺点:

It is unsupported, and as such you will have unpredictable results.

关于ruby-on-rails - 在 Rails 上使用 Ruby 1.9 是否可行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1033484/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com