set RAILS_ENV and RACK_ENV to production for staging environment