Ruby Version 1.8.7 on Ubuntu

A

Agent Mulder

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 :) is from
2008 and talks about 1.9 (versus 1.8). Do I need to re-install?
 
P

Phillip Gawlowski

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 :) is from
2008 and talks about 1.9 (versus 1.8). Do I need to re-install?

http://www.lmgtfy.com/?q=3Dubuntu+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.

--=20
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.
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Leibnitz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top