Bump the dependencies to support rails 4