Changed dependencies to include Rails 4 versions.