mislav/git-deploy — pull request #29 by osbornebrook (2012-03-20 11:59:10+00:00)
Title: RACK_ENV / RAILS_ENV

We use git-deploy for production / staging and development servers, so have to edit the post-receive script to set the environment variables (RACK_ENV for rack apps, RAILS_ENV for rails ;-) - this just eliminates that extra step on remote setup by adding "-e staging" to the arguments. There is probably a better way, but this is working nicely for us...