Updated dependencies to support newer versions of rails.