title: RVM not found, after installing RVM
body: <p>I've found a couple similar posts regarding this same problem, but none of the solutions seem to apply, here.</p>
  
  <p>On a fresh Ubuntu 10.10 install, I follow the instructions for installing RVM:</p>
  
  <pre><code>$ bash &lt; &lt;( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
  </code></pre>
  
  <p>Then I create .bash_profile and add the following line:</p>
  
  <pre><code>[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm"
  </code></pre>
  
  <p>I restart the terminal and check RVM:</p>
  
  <pre><code>$ type rvm | head -1
  -bash: type: rvm: not found
  </code></pre>
  
  <p>As the RVM installation guide explains to do so, I replaced the first line (below) in .bashrc with the second one, then indented everything in the rest of the file and added a fi.</p>
  
  <pre><code>[ -z "$PS1" ] &amp;&amp; return     # original
  if [[ -n "$PS1" ]]; then    # replaced with this
  </code></pre>
  
  <p>Restarted terminal and still, no luck.</p>
  
  <p>Then, I removed the line I added to .bash_profile in the beginning and added it to .bashrc, even though that isn't what the guide said to do. Still, no luck. I also entered it directly on the command line, with no change in behavior. When I run .rvm from ~/.rvm/bin/rvm it complains that there is no such file or directory as /.rvm/scripts/rvm and that the command was not fund.</p>
  
  <p>Of course, there isn't any such "scripts" directory inside of ./rvm, either -- so I'm not sure why it's looking for one? The only directories inside of .rvm are</p>
  
  <pre><code>archives
  bin
  config
  gems
  gemsets
  log
  man
  rubies
  src
  tmp
  user
  </code></pre>
  
  <p>The only thing I've found while googling for answers are other people complaining of similar problems and people telling them to add the instructed line to .bash_profile (which I obviously already did). At this point, I have nothing more to go on and am at an impasse.</p>
  
  <p>Regards.</p>
  
  <p><strong>Resolution:</strong>
  As Andrew Marshall advised in his comments, below, I did an 'rm -rf .rvm' and reinstalled rvm. I had actually attempted this two times before posting here, with the same results every time. No odd messages in the install log, but no /scripts/ directory, either. Just so I could say I <em>had</em>, I did it a third time at Andrew's urging. This time, I checked and the /scripts/ directory existed. Running 'type rvm | head -1' confirmed it as a 'function' and I can now move on.</p>