Ubuntu Notes and How-Tos

Thursday, August 17, 2006

Installing Rubygems

1) Because Debian does not automatically include all the standard Ruby libraries in the basic Ruby package, we need to install essential libs:

$ sudo apt-get install libyaml-ruby libzlib-ruby


2) Download rubygems from rubyforge then:

	$ tar xvfz rubygems-n.n.n.tgz
$ cd rubygems-n.n.n
$ sudo ruby setup.rb


4) And then finally:

	$ echo 'export RUBYOPT=rubygems' >> ~/.bashrc

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home