Updated dependencies to allow for Rails 4.