Forum: Ruby Upgrade to 1.8.4

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B39dfb8d49b0938c4c742b449c3d31b8?d=identicon&s=25 Stuart Batty (Guest)
on 2006-03-31 18:25
I'm running Ubuntu 5.10 and currently have ruby 1.8.2 installed. I would
like to upgrade to 1.8.4 but there doesn't seem to be an available deb
package for 1.8.4. Can someone give me some pointers on upgrading using
the source? I don't want to have version collisions or have both
versions installed.

Thanks
2c51fec8183a5d21c4e11b430beabb47?d=identicon&s=25 Patrick Hurley (Guest)
on 2006-03-31 20:16
(Received via mailing list)
The big trick on Ubuntu is to make sure you have all the prerequisite
development packages installed before building ruby (i.e. zlib,
readline, etc). Without these you will get a version of ruby to build,
but it will be missing important libraries (without which gems among
many others will not work).

I had assumed this stuff would have been installed, but Ubuntu is
geared toward "normal" desktop users and not developers so these very
common development packages are not installed unless you go out and
get them first. After that ruby builds find and 1.8.4 works like a
champ. I uninstalled ruby (apt-get remove) before installing the newer
build, you could also set the prefix if you do not want it in
/usr/local.

Good luck
pth
This topic is locked and can not be replied to.