开发者

Using Ruby 1.9.2 in development and REE in production

Is there any incompatibilities between Ruby 1.9.2 and REE that I should be aware of?

I will be deploying a Rails 3 app and I read that REE uses a lot less resources. Any drawbacks?

Deployment machine: 16 GB disk 256 MB RAM

Using Phusion Passenger and NGinx Ruby o开发者_StackOverflow社区n Rails 3.0.3


I agree with @Adam. REE uses ruby 1.8 syntax. Switching between ruby 1.8 and 1.9 syntax is headache job. Both Ruby 1.9.2 and REE are good implementations of ruby. In general, Ruby 1.9.2 runs faster and REE uses less memory. But I think catching up with the trend is good for further development, so I prefer to ruby 1.9.2


You should try with rvm, and test how it works with both environments.

Give it a try, it should take less than 15 minutes and you'll be sure you have no problem.

  • https://rvm.io/
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜