title: Error Installing rails on Ubuntu 10.04
body: <p>I am trying to install rails on Ubuntu 10.04. So far, I've executed these commands:</p>
  
  <pre><code>apt-get install build-essential libapache2-mod-passenger apache2 rubygems ruby1.8-dev libopenssl-ruby
  gem install fastthread
  gem install rails
  </code></pre>
  
  <p><code>Fastthread</code> installed easily. However, trying to install rails results in:</p>
  
  <pre><code>ERROR:  Error installing rails:
      bundler requires RubyGems version &gt;= 1.3.6
  </code></pre>
  
  <p>So, I tried <code>gem -v</code> which returned <code>1.3.5</code>.</p>
  
  <p>How do I upgrade rubygems? <code>apt-get</code> won't install above 1.3.5. And <code>gem update --system</code> results in:</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>So right now I simply can't install rails, because I need a newer version of rubygems, and ubuntu won't let me upgrade my current version of rubygems.</p>
  
  <p>As a side note, i tried installed rails via <code>apt-get install rails</code> which seemed to work, but I don't see <code>rails</code> as a gem when i type <code>gem list</code>. What's the deal with that?</p>
  
  <p>Another note: The result of <code>gem list</code> is:</p>
  
  <pre><code>*** LOCAL GEMS ***
  
  abstract (1.0.0)
  actionmailer (3.0.1, 3.0.0)
  actionpack (3.0.1, 3.0.0)
  activemodel (3.0.1, 3.0.0)
  activerecord (3.0.1, 3.0.0)
  activeresource (3.0.1, 3.0.0)
  activesupport (3.0.1, 3.0.0)
  arel (2.0.1, 1.0.1)
  builder (2.1.2)
  erubis (2.6.6)
  fastthread (1.0.7)
  i18n (0.4.2)
  mail (2.2.9)
  mime-types (1.16)
  mysql (2.8.1)
  polyglot (0.3.1)
  rack (1.2.1)
  rack-mount (0.6.13)
  rack-test (0.5.6)
  railties (3.0.1, 3.0.0)
  rake (0.8.7)
  rubygems-update (1.3.7)
  thor (0.14.4)
  treetop (1.4.8)
  tzinfo (0.3.23)
  </code></pre>
  
  <p>I assume installing rails via apt-get installed those gems? Prior to installing rails through apt-get I only had mysql and fastthread.</p>