title: RVM installation fails
body: <p>I followed the instructions from the RVM homepage (https://rvm.beginrescueend.com/rvm/install/)</p>
  
  <p>I typed the following:</p>
  
  <pre><code>sudo bash -s stable &lt; &lt;(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
  </code></pre>
  
  <p>the script executed and didn't seem to give any errors.</p>
  
  <p>the same without sudo gave an error:</p>
  
  <pre><code>Warning: Failed to create the file 
  Warning: /usr/share/ruby-rvm/archives/wayneeseguin-rvm-stable.tgz: Permission 
  Warning: denied
    0  792k    0  3908    0     0   2257      0  0:05:59  0:00:01  0:05:58  2257
  curl: (23) Failed writing body (0 != 3908)
  
  Could not download 'https://github.com/wayneeseguin/rvm/tarball/stable'.
    curl returned status '23'.
  </code></pre>
  
  <p>I also put this in my ~/.bashrc</p>
  
  <pre><code>echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm"
  </code></pre>
  
  <p>what I get is:</p>
  
  <pre><code>~$ type rvm | head -1
  bash: type: rvm: not found
  
  ~$ source "/usr/local/rvm/scripts/rvm"
  bash: /usr/local/rvm/scripts/rvm: No such file or directory
  
  ~$ source "$HOME/.rvm/scripts/rvm"
  bash: /home/anonym/.rvm/scripts/rvm: No such file or directory
  </code></pre>
  
  <p>How can this be fixed?</p>
  
  <p>PS</p>
  
  <p>I'm using Ubuntu 11.10</p>