update rails_env