Stop passing the full ENV over the socket

We only use this for deciding the rails env to use for the command.

Passing the full env caused problems on Travis, because their env hash
contained \e characters, and OkJson incorrectly encoded them and then
threw an error when trying to decode them. See
https://github.com/kr/okjson/issues/16.