Upated dependencies to allow for Rails 4.