title: Setting 'EDITOR' or 'BUNDLER_EDITOR' environment variable
body: <p>I am trying to open up a gem in Sublime Text, unsuccessfully.  I have Bundler installed.  Here is what is happening.</p>
  <p>In the command line:</p>
  <pre><code>$bundle open Devise
  To open a bundled gem, set $EDITOR or $BUNDLER_EDITOR
  </code></pre>
  <p>When I go to the <a href="http://bundler.io/v1.3/bundle_open.html" rel="noreferrer">Bundler website</a> it says,</p>
  <blockquote>
  <p>Open the source directory of the given bundled gem:</p>
  <p>$ bundle open GEM</p>
  <p>This opens the source directory of the provided GEM in your editor. <strong>For this to work the <code>EDITOR</code> or <code>BUNDLER_EDITOR</code> environment variable has to be set.</strong></p>
  </blockquote>
  <p>I am new to all of this.  What are the <strong>specific</strong> steps to set my <code>EDITOR</code> or <code>BUNDLER_EDITOR</code> environment variables?  I'm on a Mac, using Sublime Text.</p>
  <p>Thank you.</p>