title: I'm getting "RVM is not a function" error on Mac OS X, and no posted solutions work
body: <p>I'm on Mac OS x 10.8.2 ("Mountain Lion"), and I successfully installed RVM 1.17.8 and its dependencies. I'm able to use it to install Ruby versions using <code>rvm install 1.9.2</code>, but I can't execute <code>rvm use &lt;version&gt;</code> without getting this error:</p>
  
  <pre><code>RVM is not a function, selecting rubies with 'rvm use ...' will not work.
  
  You need to change your terminal emulator preferences to allow login shell.
  Sometimes it is required to use `/bin/bash --login` as the command.
  Please visit https://rvm.io/integration/gnome-terminal/ for a example.
  </code></pre>
  
  <p>I have the following in ~/.bash_profile, which I have set to run, using <code>source ~/.bash_profile</code>, whenever a terminal window is launched:</p>
  
  <pre><code>export SVN_EDITOR=vim
  PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
  [ -r ~/.bashrc ] &amp;&amp; source ~/.bashrc
  </code></pre>
  
  <p>I've tried running <code>source ~/.rvm/scripts/rvm</code>, which runs without returning an error, but I still get the "RVM is not a function" error when I try to use RVM to set the Ruby version within the terminal session.</p>
  
  <p>I also tried uninstalling and reinstalling RVM using <code>rvm implode</code>. I've run out of ideas and I can't seem to find any more solutions online.  Help?</p>