title: Loading .env in Ruby on Rails application
body: <p>I am setting up a heroku and I am using using this <a href="https://devcenter.heroku.com/articles/direct-to-s3-image-uploads-in-rails#example-app" rel="noreferrer">guide</a> to set up my local environment for development. I have a '.env' file in the root of my application with the variable set up as noted in the guide. When I run </p>
  
  <pre><code>heroku local:run rails runner "puts ENV['S3_BUCKET']"
  </code></pre>
  
  <p>it returns a blank. How do I get it to recognize/load the '.env' file?</p>