Fix rails_env in deploy tasks