Fixed ssh command to have RAILS_ENV and RACK_ENV