set rack_env before command execution