RACK_ENV considered harmful.  Use Rails.env if it exists.