You can install latest version ruby in Ubuntu 14.04 by this command sudo apt-get install software-properties-common sudo add-apt-repository ppa:brightbox/ruby-ng sudo...