Upgrade from ruby 1.8.6 to 1.8.7 in Ubuntu 9.10?

Our server has ruby 1.8.7 and i have 1.8.6 locally. I want to upgrade my local machine (which has ubuntu 9.10) to ruby 1.8.7 - NOT to 1.9 or any later versions. I tried sudo apt-get install ruby1.8.7 but there's no package for that.

Answers


Have you tried RVM? There is also a system-wide installation available for servers.

http://rvm.io/

http://rvm.io/deployment/system-wide/


I would highly recommend using RVM.

RVM is a system wide or user wide service (depending on your preference) that allows you to install multiple versions of Ruby without causing problems. Installation is very easy to get started with and since it allows for different versions of Ruby to be installed, you could easily continue programming in 1.8.6 for one project and seamlessly switch to 1.8.7 to program for the server you are working with. You can even set different users to have different versions of Ruby set as their default if you go the user-wide way.

Make sure you have git and curl installed.

https://rvm.io

https://rvm.io/rvm/install/

It does take a little getting used to but it is a very powerful tool for developing with different versions of Ruby and even different versions of the Rails Gem. This is great too, you can have multiple Gemsets as well. So, for instance, if you need to test a new Gem or version of a Gem without mucking up a stable one you already have installed, you can create a separate Gemset and play around with it and switch back at your convenience.

Has saved me from having a lot of headaches in the past.


Need Your Help

How to create an ICMP traceroute in Python

python sockets networking icmp

I am trying to implement an ICMP based Traceroute in Python.

Blackberry - View similar to Blackberry Messenger, MSN or Gtalk

user-interface listview blackberry expand expandablelistview

A View with expand and contract list where you show, for instance, Chats, Contacts, Groups. You click on of them and expands to a list of Chats and each element of the list is a Rectangular box wit...