Tuesday, 13 May 2014

install ruby 2.1 ubuntu

sudo apt-get install python-software-properties
sudo apt-add-repository ppa:brightbox/ruby-ng 

sudo apt-get update 

sudo apt-get install ruby2.1 

ruby2.1 -v 
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux-gnu]