revert static RAILS_ENV to actual environment status