title: How to create a Heroku rails dev environment in actual development mode?
body: <p>I'm attempting to mimic, as close as possible, the Heroku deployment environment but in actual <code>development</code> mode for a Rails app.  In other words, I'd like more verbose output from the thin console logs web and worker processes and I'd like for the assets pipeline to be refreshed appropriately vs having to run a command to refresh them.</p>
  
  <p>The reason I have to do this is due to some testing of additional workers that need to function during development and testing phases.</p>
  
  <p>Currently I have foreman running a procfile locally which spawns thin.  Here are the commands that it steps through:</p>
  
  <p>First I start it via Foreman with <code>RACK_ENV=development PORT=3000 foreman start --port $PORT</code></p>
  
  <p>Second, in my Procfile I have: </p>
  
  <pre><code>`web:    bundle exec thin start -p $PORT -e $RACK_ENV`
  `worker: bundle exec ruby worker.rb`
  </code></pre>
  
  <p>These execute just fine, however I have two seeming problems that I'd like to overcome:</p>
  
  <p>A) I have to run <code>bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile</code> so it seems as though thin does not honor a development mode that does not require asset precompilation.  I tried to add <code>config.assets.compile = true</code> into my config/environments/development.rb, but that did not seemingly help the situation.  The real problem seems to be that actual images in the assets folder are not refreshed without this manual <code>preocompile</code> step.</p>
  
  <p>B) I am not seeing any more verbose development level logging in the output console.  I would like to see a verbose request log as well as the debug print statements that I have in my worker script.  None of these propagate back up to the console log where the <code>foreman</code> command is initially run.</p>
  
  <p>The thought has come to mind that perhaps I should just have a <code>Procfile.development</code> and in there have webrick instead of thin, however that only resolves point A and leaves the question of point B above.</p>
  
  <p>Thus my question, how can I accomplish my original designs using foreman + thin?</p>