Lock mongo gem version to fix tests
Fix Rails dependency