sets the right Rails.env to show the warning box