Ruby Version 1.8.7 on Ubuntu

I installed ruby from Ubuntu a week ago but it seems that I have version
1.8:

$ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]

The book 'Ruby Programming Language' I am studying (very good :slight_smile: is from
2008 and talks about 1.9 (versus 1.8). Do I need to re-install?

路路路

--
Posted via http://www.ruby-forum.com/.

http://www.lmgtfy.com/?q=ubuntu+ruby+1.9

In case this gets lost in the plethora of links for this issue (and
you don't use RVM): Substitute the book's use of ruby and irb with
ruby19 / irb19.

路路路

On Fri, May 27, 2011 at 3:25 PM, Agent Mulder <mbmulder@online.nl> wrote:

I installed ruby from Ubuntu a week ago but it seems that I have version
1.8:

$ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]

The book 'Ruby Programming Language' I am studying (very good :slight_smile: is from
2008 and talks about 1.9 (versus 1.8). Do I need to re-install?

--
Phillip Gawlowski

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
-- Leibnitz