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:
2) Download rubygems from rubyforge then:
4) And then finally:
$ 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