Mongo::Error::UnsupportedFeatures (Server at (localhost:27017) reports wire version (2), but this version of the Ruby driver requires at least (6).)

MongoDB documentation is a bit confusing here.

The link you posted is referring the the compatibility between mongoid and the ruby mongodb driver.

There is another page with a matrix representing the compatibility of the ruby driver and the mongoDB server.