find/replaced a bunch of RAILS_ENVs to Rails.envs.
BugzId: 2089