change GRAPE_ENV to RACK_ENV