有没有人用 Ruby 1.9.1 成功部署过 Rails 项目? [英] Has anyone successfully deployed a Rails project with Ruby 1.9.1?

查看:42
本文介绍了有没有人用 Ruby 1.9.1 成功部署过 Rails 项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上周我成功完成了我们公司所有应用程序从 Ruby 1.8.6 到 Ruby 1.8.7 的转换,包括本地和远程配置.从现在开始,开发将不需要确保与 Ruby 1.8.6 的向后兼容性.

Last week I successfully completed the transition of all our company applications from Ruby 1.8.6 to Ruby 1.8.7 including local and remote configurations. From now on, development won't need to ensure backward-compatibility with Ruby 1.8.6.

出于好奇,我尝试针对 Ruby 1.9.1 运行几个项目的测试套件.正如预期的那样,我发现了一些与编码相关的问题,但是当我发现低级别的不兼容性(例如 Rack::Link 已知错误)时,我真的很震惊.在这一点上,将开发转移到 Ruby 1.9.1 的想法根本不适用.

For the sake of curiosity, I tried to run the test suite of a couple of projects against Ruby 1.9.1. As expected, I found some encoding-related issue but I was really shocked when I discovered low-level incompatibilities such as a Rack::Link known bug. At this point, the idea of moving development to Ruby 1.9.1 is simply not applicable.

我想知道是否有人成功地使用 Ruby 1.9.1 部署了 Rails 项目.您的 Rails 项目使用哪个 Ruby 版本?您打算升级到更新的版本吗?

I was wondering if anyone has successfully deployed a Rails project with Ruby 1.9.1. Which Ruby version do you use for your Rails projects? Are you planning to upgrade to a more recent version?

推荐答案

Matz 最近在伦敦的 RubyFoo 上谈到了 ruby​​ 1.9.1 的采用.很简单,ruby 1.9.1 还没有准备好生产,现在不应该用于部署.

Matz recently spoke at RubyFoo in London about ruby 1.9.1 adoption. Quite simply, ruby 1.9.1 is not production ready and should not be used for deployment just yet.

Ruby 1.9.2 将投入生产,但在那之前您只能使用 ruby​​ 1.9.1 进行游戏和测试.

Ruby 1.9.2 will be production ready, but until then you should only use ruby 1.9.1 for play and testing.

虽然很多人已经使用 1.9.1 成功部署,但我还是建议坚持使用 REE 1.8.7,直到 1.9.2 发布.Rails 3.0 将支持 1.9.2,但也能与 1.8.7 一起使用(它不适用于 1.8.6).

Although many people out there have had successful deployments using 1.9.1, I would recommend sticking with REE 1.8.7 until 1.9.2 is out. Rails 3.0 will favor 1.9.2, but also work quite happily with 1.8.7 (it will NOT work with 1.8.6).

这篇关于有没有人用 Ruby 1.9.1 成功部署过 Rails 项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆