Log on:
Powered by Elgg
Hipatia | Wiki | Docs | Gallery | Hipatia social network | Guri | Gpg keys | Propuesta hipatiana | Liberaxion | Random | Random-Topics | Free Software Free Society 2005 | The Thiruvananthapuram Declaration | The Kozhikode Declaration | Marroncito

Arky :: Blog :: Setup RubyGems path in ubuntu

October 11, 2011

http://playingwithsid.blogspot.com/2011/10/setup-rubygems-path-in-ubuntu.h

Building Virtual Machines (VM) using Vagrant this week. Unfortunately the Ubuntu Natty does not add Ruby Gems directory to system path variable. Using Ruby Gems on command line is tedious if you have to type the full path prefix everytime. For example I have to type /var/lib/gems/1.8/bin/vagrant .



Instead I used the solution suggested in libgems-ruby bug #145267 .






sudo echo "PATH=/var/lib/gems/1.8/bin:$PATH" > /etc/profile.d/rubygems1.8.sh




Perhaps someone could add this to Vagrant Ubuntu installation documentation.

Keywords: free software

Posted by Arky

Browse:


Some related posts:

You must be logged in to post a comment.