Add RAILS_ENV and RACK_ENV to setup script