Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it feasible to use Ruby 1.9 for Rails yet?

I've read that Ruby 1.9 is a lot faster than 1.8, however it seems like it hasn't become the standard in the Rails community yet. What are the pros and cons of using Ruby 1.9 for new apps?

Edit to say: What I found confusing was that while its not officially recommended, it seems like 2.3 brought compatibility. Just wondering if people have any real world experience of attempting large sites in 1.9.

Also: Any large gotchas to be found in starting an app in 1.8 and upgrading to 1.9 at a later date..

like image 720
jcoffey Avatar asked Dec 10 '22 20:12

jcoffey


2 Answers

No, it is not recommended yet. From Ruby on Rails: Download:

We recommend Ruby 1.8.7 for use with Rails.

Pros:

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

Cons:

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

like image 192
Andrew Hare Avatar answered Dec 31 '22 02:12

Andrew Hare


Rails itself runs great, the real problem is with the gems and plugins

You can look at www.isitruby19.com to check what other peoples problems with them are

like image 23
nasmorn Avatar answered Dec 31 '22 03:12

nasmorn