title: Rails3: How to set bash environment variables that are project-specific?
body: <p>My apps use several environment variables (in ~/.bashrc on my local dev machine, and as heroku config vars on the remote heroku app).</p>
  
  <p>Since all ENV vars on my local machine are in the same file, I have to be careful naming them to avoid collisions between different apps. </p>
  
  <p>How do I set environment variables on my local machine that are specific to the particular app I'm running locally?</p>
  
  <p>For example, to run app_one locally:</p>
  
  <pre><code>cd app_one  
  run_something (that loads the env vars then runs rails server)
  </code></pre>