title: ~/.rvm/bin/rvm Vs ~/.rvm/scripts/rvm
body: <p>I'm new to ruby, and just wondering what is the difference between <strong><em>~/.rvm/bin/rvm</em></strong> and <strong><em>~/.rvm/scripts/rvm</em></strong></p>
  
  <p>when installing ruby as described here: <a href="https://rvm.io/rvm/install/" rel="nofollow">https://rvm.io/rvm/install/</a> I noticed that the following line was added to my .bashrc file</p>
  
  <pre>
  PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
  </pre>
  
  <p>But when I tried to install some gems, they get installed but when invoking them it asks me to install the gem again.</p>
  
  <p>I found that the documentation at <a href="https://rvm.io/rvm/basics/" rel="nofollow">https://rvm.io/rvm/basics/</a> instructs to add the following line to the .bashrc file:</p>
  
  <pre>
  [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
  </pre>
  
  <p>Once added, everything is working.</p>
  
  <p>So what is the difference between these two confusing rvm scripts?</p>
  
  <p>Thanks.</p>