set rack_env before command execution
Merge pull request #29 from arielze/master

set rack_env before command execution