Wednesday, March 23, 2011

Tech tips - Install Ruby and RubyGems

Here is one of the simple steps to install ruby and RubyGems on Ubuntu 10.x


1. Run this command on terminal

$sudo apt-get install ruby1.9.1-full

2. Download the latest RubyGems from here

https://rubygems.org/pages/download

3. Unpack into a directory and cd here

4. Run this command (you may need admin/root privilege)

ruby setup.rb

Check the ruby, Gem version and environment settings

$ruby -v && gem -v && gem env

That's it. Hope it may help you

No comments:

Post a Comment