Ruby/Updating RubyGem on Debian-Ubuntu
From Debuntu
Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again.
But running:
$ sudo gem update --system
returns:
ERROR: While executing gem ... (RuntimeError)
gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get.
The fix to this is to install the gem updater using:
$ sudo gem install rubygems-update $ sudo /var/lib/gems/1.8/bin/update_rubygems