capistrano-plugins/capistrano-unicorn-nginx — pull request #22 by bruno- (2014-10-03 14:50:59+00:00)
Title: Application env honors `rails_env`

If capistrano-rails gem is used, we honor the `rails_env` option required by
that plugin.

Fallback to `stage` option. This solution is backwards compatible.

This pull request is equivalent to
[this](https://github.com/capistrano-plugins/capistrano-postgresql/pull/9)
PR for capistrano-postgres.