Ruby 2.0 and Rails 4.0

This week brought a great leap forward for Rails development with the release of Ruby 2.0.0 (final) and Rails 4.0.0 (beta).

Ruby 2.0 makes Rails much faster. You’ll love the speed improvement.

Rails 4 brings new features with new twists on implementing Rails applications. Rails 4 final is a few months away but you can install Rails 4.0.0.beta1 now to get familiar with the changes coming in Rails 4.

For projects in production, or deploying to production in the next few months, upgrade your applications to Rails 3.2.13 which patches Rails to fully support Ruby 2.0.0.

I’ve written two articles to help you get started with Ruby 2.0 and Rails 4.0.

The first article details how to install Ruby 2.0 with two different versions of Rails so you can easily switch between versions to work on production applications or begin work on new applications with Rails 4.0.

In the second article, I suggest a process to follow in updating Rails applications.

I’ve updated all the RailsApps example applications in the RailsApps GitHub repository to use Rails 3.2.13.rc1 and they all run nicely with Ruby 2.0. The Ruby 2.0 speed improvement is sweet, especially when a Rails application initially launches.

If you like to generate starter applications for Ruby 2.0 and Rails 3.2, you can use the Rails Composer tool. If you’ve installed Ruby 2.0 and Rails 3.2.13.rc1, the Rails Composer application template will build any of the example applications as a Rails 3.2.13 application.

I’ll add a new suite of Rails 4.0 example applications and tutorials to the RailsApps project before Rails 4.0 final is released.

2 notesShowHide

  1. rails-apps posted this