Until #666 is fixed, we need to pin MongoDB to <2.0.
Until #666 is fixed, we need to pin MongoDB to <2.0.

Deprecated methods like MongoDB::Cursor::count were removed in 2.0 and
thus caused the following error if a more recent MongoDB was installed.

Can't locate object method "count" via package "MongoDB::Cursor" at
/opt/product-opener/lib/ProductOpener/Display.pm line 3159.

openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server