title: RVM Path Issues, Need to Run `rvm use` Every Session
body: <p>Eventually trying to get a staging server running on a mac using Capistrano. Right now I'm just trying to get the environment setup correctly at login.</p>
  
  <pre><code>$bundle show rails
  -bash: bundle: command not found
  $ rvm use 1.9.3
  Using /Users/me/.rvm/gems/ruby-1.9.3-p551
  $ bundle show rails
  /Users/me/.rvm/gems/ruby-1.9.3-p551/gems/rails-3.1.10
  </code></pre>
  
  <p>Here's the output of <code>gem environment</code></p>
  
  <pre><code>$ gem environment
  RubyGems Environment:
    - RUBYGEMS VERSION: 2.4.8
    - RUBY VERSION: 1.9.3 (2014-11-13 patchlevel 551) [x86_64-darwin14.5.0]
    - INSTALLATION DIRECTORY: /Users/me/.rvm/gems/ruby-1.9.3-p551-rvm
    - RUBY EXECUTABLE: /Users/me/.rvm/rubies/ruby-1.9.3-p551-rvm/bin/ruby
    - EXECUTABLE DIRECTORY: /Users/me/.rvm/gems/ruby-1.9.3-p551-rvm/bin
    - SPEC CACHE DIRECTORY: /Users/me/.gem/specs
    - SYSTEM CONFIGURATION DIRECTORY: /Users/me/.rvm/rubies/ruby-1.9.3-p551-rvm/etc
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-darwin-14
    - GEM PATHS:
       - /Users/me/.rvm/gems/ruby-1.9.3-p551-rvm
       - /Users/me/.rvm/gems/ruby-1.9.3-p551-rvm@global
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - https://rubygems.org/
    - SHELL PATH:
       - /Users/me/.rvm/gems/ruby-1.9.3-p551-rvm/bin
       - /Users/me/.rvm/gems/ruby-1.9.3-p551-rvm@global/bin
       - /Users/me/.rvm/rubies/ruby-1.9.3-p551-rvm/bin
       - /Users/me/.rvm/bin
       - /usr/local/bin
       - /usr/bin
       - /bin
       - /usr/sbin
       - /sbin
  </code></pre>
  
  <p>Here's <code>~/.bash_profile</code>:</p>
  
  <pre><code>[[ -s "$HOME/.profile" ]] &amp;&amp; source "$HOME/.profile" # Load the default .profile
  
  [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
  </code></pre>
  
  <p>Nothing is in <code>~/.profile</code>.</p>
  
  <p>Not sure what's normal for <code>rvm list</code> but I feel like the 2 installations of 1.9.3 could be an issue.</p>
  
  <pre><code>rvm list
  
  rvm rubies
  
     ruby-1.9.3-p551 [ x86_64 ]
  =&gt; ruby-1.9.3-p551-rvm [ x86_64 ]
     ruby-2.0.0-p451 [ x86_64 ]
   * ruby-2.0.0-p643 [ x86_64 ]
  
  # =&gt; - current
  # =* - current &amp;&amp; default
  #  * - default
  </code></pre>
  
  <p><strong>Update:</strong> Definitely something up with the installation of 1.9.3. Uninstalled both 1.9.3-p551 and 1.9.3-p551-rvm and reinstalled 1.9.3-p551. Now when cd'ing in the dir, it says:</p>
  
  <pre><code>ruby-1.9.3-p551-rvm is not installed.
  To install do: 'rvm install ruby-1.9.3-p551-rvm'
  </code></pre>
  
  <p>Not sure why it's insisting on <code>-rvm</code> at the end. My <code>.ruby-version</code> just has <code>rvm 1.9.3-p551</code>.</p>
  
  <p><strong>Another update:</strong> There was no reason for me to stick with 1.9.3 so I've moved to 2.0.0. There seems to be some kind of bug with rvm expecting <code>-rvm</code> on the end for 1.9.3. Still need to get my paths rvm paths figured out. The path <em>to</em> RVM is fine. It seems to be a global issue. A directory that is working fine has <code>which bundle</code> return <code>/Users/joshuamark/.rvm/gems/ruby-2.0.0-p451@global/bin/bundle</code>. The directory that doesn't work returns <code>/Users/joshuamark/.rvm/gems/ruby-2.0.0-p643/bin/bundle</code> after using <code>rvm use</code>.</p>