Updates rails env configuration files