title: Ubuntu 10.04 - RVM won't set a default ruby
body: <p>I've managed to install RVM on a Linode VPS before, but after a rebuild I'm running in to all kind of problems and thought I'd see if anyone here could advise.</p>
  
  <p>I'm trying to install RVM (and Ruby 1.9.2) on a Linode Ubuntu 10.04 (32 Bit) VPS.</p>
  
  <p>I've tried following the instructions on many sites, such as <a href="http://web2linux.com/installing-rails-3-on-ubuntu-10-04-lucid-lynx/" rel="nofollow noreferrer">http://web2linux.com/installing-rails-3-on-ubuntu-10-04-lucid-lynx/</a>, for a single user or system wide install (system-wide preferred), but I always encounter the same error.</p>
  
  <p>Ruby 1.9.2 compiles and installs correctly, and when I use</p>
  
  <pre><code>rvm 1.9.2
  ruby-v
  </code></pre>
  
  <p>The following is returned:</p>
  
  <pre><code>ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
  </code></pre>
  
  <p>The problem occurs when I try to set 1.9.2 to be the default system ruby using:</p>
  
  <pre><code>rvm --default 1.9.2
  </code></pre>
  
  <p>This returns the following errors:</p>
  
  <pre><code>ln: creating symbolic link `/usr/local/rvm/bin/ruby': No such file or directory
  ln: creating symbolic link `/usr/local/rvm/bin/gem': No such file or directory
  ln: creating symbolic link `/usr/local/rvm/bin/irb': No such file or directory
  ln: creating symbolic link `/usr/local/rvm/bin/ri': No such file or directory
  ln: creating symbolic link `/usr/local/rvm/bin/rdoc': No such file or directory
  ln: creating symbolic link `/usr/local/rvm/bin/rake': No such file or directory
  ln: creating symbolic link `/usr/local/rvm/bin/erb': No such file or directory
  ln: creating symbolic link `/usr/local/rvm/bin/testrb': No such file or directory
  </code></pre>
  
  <p>I've put a full copy of the trace here: <a href="http://pastie.org/1170192" rel="nofollow noreferrer">http://pastie.org/1170192</a></p>
  
  <p>This is on a fresh VPS with nothing else installed, so rebuilding it and starting again is an option. I just need to know how to avoid this roadblock and make 1.9.2 the default system ruby.</p>