Channels ▼

Nick Plante

Dr. Dobb's Bloggers

Ruby 1.9.1 Arrives

January 30, 2009

It's been almost a year since the release of Ruby 1.9.0, the first release of the Ruby 1.9.x branch. However, at the time that it was released the core team indicated that this was strictly a development release and not intended for production. Yesterday, Yuki Sonoda officially announced the availability of Ruby (MRI) 1.9.x, which is the first production-ready release of the 1.9.x branch -- exciting news!

At this point, new language features for the 1.9.x line are effectively frozen, and this is a great time for developers to dive in and learn about the changes from 1.8.x and the new idioms in place. It's also a good time to start porting any of your Ruby libraries and projects over to 1.9, and fixing any problems caused by incompatibilities between 1.8 and 1.9.

I won't waste precious breath here to run through every change to Ruby itself or to its standard libraries; instead I'll be happy to refer you to the changelist above and the excellent coverage at the following sites:

Of course this isn't quite the end of the line for 1.8.x either (1.8.8 will be released "this year"). And it will no doubt be some time before all of the familiar libraries, gems, and frameworks in the Ruby community are quite up to speed and 1.9 compatible. This is why it's especially important for OSS developers to start updating their projects as soon as possible.

I had no trouble at all installing 1.9.1 from source and running a few simple command line scripts that I'd written, but immediately had issues trying to run one of my more complex Rails projects which relies on a number of third party RubyGems. I also had issues installing Passenger, which relies on Fast Thread -- which is apparently not yet working under 1.9. Ryan Bigg has recently written about his struggles getting an edge Rails application running on the latest release in more depth.

All in all, 1.9.1 is a solid step forward for MRI, and greatly improved benchmark results and a handful of new language features make this an exciting time for the Ruby community. Visit http://www.ruby-lang.org for more information, discussion, and (of course!) downloads.

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 


Video