Use stage name as rails_env

In multistage environment use stage name as environment
Merge pull request #49 from bronislav/master

Use stage name as rails_env