title: Where is ruby stored on mac?
body: <p>I am looking for a path of where ruby gets stored on mac?</p>
  
  <p>I installed macruby on my mac and I am trying to see where it got installed. I want to include the path of macruby in my ruby script. When I do rvm list, I get:</p>
  
  <pre><code>=&gt; macruby-0.12 [ i686 ]
   * ruby-1.9.3-p545 [ x86_64 ]
     ruby-2.1.1 [ x86_64 ]
     ruby-2.1.2 [ x86_64 ]
     ruby-2.1.2-version [ x86_64 ]
  </code></pre>
  
  <p>I use <code>#!/usr/local/bin/macruby</code> in my ruby script, but looks like macruby is not present in that location. When I execute "whereis ruby" command on I get back <code>"/usr/bin/ruby"</code>, but when I execute <code>"whereis ruby-1.9.3-p545"</code> or <code>"whereis macruby-0.12"</code> I get nothing.</p>
  
  <p>How do I find the path of where does all these ruby versions lie?</p>