title: Ruby versions differ in Terminal & bash
body: <p>In Terminal, <code>ruby -v</code> gives me:</p>
  
  <pre><code>ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
  </code></pre>
  
  <p>But if I type <code>/bin/bash</code> then <code>ruby -v</code> I get:</p>
  
  <pre><code>ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
  </code></pre>
  
  <p>I suspect this is something to do with my PATH config(s). My $PATH variable is different in both the above environments. There are other issues e.g. <code>rvm</code> won't run unless I go into bash mode.</p>
  
  <p>For info, my <code>~/.bashrc</code> contains:</p>
  
  <pre><code>PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
  [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/scripts/rvm"  # This loads RVM into a shell session.
  </code></pre>