update rails environment