Updating dependencies for Rails 4