title: Partially load Rails app, without starting server?
body: <p>I have a separate script in my Rails app which is executed like a worker by Bunny (an AMQP client), I don't need to load the entire app. For instance I certainly won't need anything like Unicorn or any of the the routes, etc. I basically only need access to my models. Is this possible?</p>
  
  <p>Right now the worker loads the entire rails app like this:</p>
  
  <pre><code>require ::File.expand_path('../config/environment', __FILE__)
  </code></pre>