RubyGems 1.3.1 on Ubuntu 8.10
David Heinemeier Hansson: you can install Rails 2.2 through RubyGems. We now require RubyGems 1.3.1, so be sure to update that first
Problem:
$ gem -v 1.2.0 $ gem update --system 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
Solution:
$ wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz $ tar xzf rubygems-1.3.1.tgz $ cd rubygems-1.3.1 $ sudo ruby setup.rb $ gem -v 1.3.1 $ sudo gem install rails Successfully installed rake-0.8.3 Successfully installed activesupport-2.2.2 Successfully installed activerecord-2.2.2 Successfully installed actionpack-2.2.2 Successfully installed actionmailer-2.2.2 Successfully installed activeresource-2.2.2 Successfully installed rails-2.2.2 7 gems installed Installing ri documentation for rake-0.8.3... Installing ri documentation for activesupport-2.2.2... Installing ri documentation for activerecord-2.2.2... Installing ri documentation for actionpack-2.2.2... Installing ri documentation for actionmailer-2.2.2... Installing ri documentation for activeresource-2.2.2... Installing RDoc documentation for rake-0.8.3... Installing RDoc documentation for activesupport-2.2.2... Installing RDoc documentation for activerecord-2.2.2... Installing RDoc documentation for actionpack-2.2.2... Installing RDoc documentation for actionmailer-2.2.2... Installing RDoc documentation for activeresource-2.2.2...