学习Ruby-1.8或1.9版本? [英] Learning Ruby - 1.8 or 1.9 version?

查看:88
本文介绍了学习Ruby-1.8或1.9版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我学习Python已有一段时间了,但是我想做的项目更适合Ruby,例如CSS的SAC API在Ruby(和C& Java)中可用.

I've been learning Python for a while, but the projects I want to do are better suited for Ruby, for example the SAC API for CSS is available in Ruby (and C & Java).

无论如何,考虑到我将只构建 网络应用程序,我现在应该学习哪个版本的Ruby.

Anyhow, which version of Ruby should I learn right now considering that I'll be building only web apps.

感谢您的评论和建议.

推荐答案

(只是),因为您打算构建Web应用程序,因此出于以下原因,Ruby 1.8.7似乎是最合适的版本:

(Just) because you are planning to build web apps, Ruby 1.8.7 seems to be the most appropriate version for the following reasons:

  • Rails生态系统仍然 Ruby 1.9出现问题
  • Ruby Enterprise Edition基于Ruby 1.8.7,这是您可能会在生产中使用的Ruby解释器,除非您不使用jRuby
  • 如果您打算使用jRuby,则它基于Ruby 1.8.7

但是,您应该始终牢记Ruby 1.9是未来.因此,请避免使用不推荐使用Ruby 1.8.7的功能,而您绝对应该看看Ruby 1.9的路线图.

However, you should always keep in mind that Ruby 1.9 is the future. So, avoid using Ruby 1.8.7 deprecated features and you should definitely have a look at the Ruby 1.9 roadmap.

避免使用Ruby 1.8.6.即将发布的Rails版本(Rails 3)将不适用于Ruby 1.8.6.

Avoid Ruby 1.8.6. The upcoming Rails release (Rails 3) won't work with Ruby 1.8.6.

这篇关于学习Ruby-1.8或1.9版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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