title: Executable Ruby Scripts Using the Current Local User RVM Install?
body: <p>I would like ruby scripts with the header <code>#! /usr/bin/ruby</code> to execute using the currently in use rvm version of ruby.  I run into the issue where I am using a given version but upon executing the script the system ruby is invoked.  Installing RVM for every user on the system is not an option.</p>
  
  <p>Problem:</p>
  
  <pre><code>ruby -v
  ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0]
  
  /usr/bin/ruby -v
  ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
  </code></pre>
  
  <p>How to make it the following without performing a system wide install of RVM?</p>
  
  <pre><code>ruby -v
  ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0]
  
  ruby -v
  ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0]
  </code></pre>