Environments updated for Rails 4.