Polls

Which language do you use for website development?
 

Home Apt-Get Install Ubuntu Installing rubygems in ubuntu
Installing rubygems in ubuntu PDF
Written by Nirbhab Barat   
Thursday, 30 July 2009 10:37
sudo apt-get install rubygems
above command installs the ruby gems to your linux machine. But before you move ahead with the installation procedure, the ruby gems work properly when you add the gems installation path to the environment
  1. if you want to set a global path you have to do it in
    /etc/environment
    sudo gedit /etc/environment
    and add
    /var/lib/gems/1.8/bin
    to the path
  2. if you want to set the path any time you open a console , as a setting only for you
    sudo gedit ~/.bashrc
    and add
    /var/lib/gems/1.8/bin
    to the path
  3. if you want to add it to current session, but this path will get removed after a restart.
    export PATH=/var/lib/gems/1.8/bin:$PATH
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Security
Please input the anti-spam code that you can read in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated on Thursday, 30 July 2009 11:24
 
Follow me on twitter
View my LinkedIn profile