migrate environment configs to rails4
user unit tests pass