{"action":"opened","issue":{"url":"https://api.github.com/repos/bmuller/ankusa/issues/11","labels_url":"https://api.github.com/repos/bmuller/ankusa/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/bmuller/ankusa/issues/11/comments","events_url":"https://api.github.com/repos/bmuller/ankusa/issues/11/events","html_url":"https://github.com/bmuller/ankusa/issues/11","id":116775907,"number":11,"title":"Ankusa appears to use older MongoDB connection driver","user":{"login":"ghostfreeman","id":216171,"avatar_url":"https://avatars.githubusercontent.com/u/216171?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostfreeman","html_url":"https://github.com/ghostfreeman","followers_url":"https://api.github.com/users/ghostfreeman/followers","following_url":"https://api.github.com/users/ghostfreeman/following{/other_user}","gists_url":"https://api.github.com/users/ghostfreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostfreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostfreeman/subscriptions","organizations_url":"https://api.github.com/users/ghostfreeman/orgs","repos_url":"https://api.github.com/users/ghostfreeman/repos","events_url":"https://api.github.com/users/ghostfreeman/events{/privacy}","received_events_url":"https://api.github.com/users/ghostfreeman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T14:15:18Z","updated_at":"2015-11-13T14:15:18Z","closed_at":null,"body":"I'm not entirely sure what the cause could be here, but when running Ankusa from rubygems, any attempt to connect to Mongo returns this error\r\n\r\n```/Library/Ruby/Gems/2.0.0/gems/ankusa-0.1.0/lib/ankusa/mongo_db_storage.rb:12:in `initialize': uninitialized constant Mongo::Connection (NameError)\r\n\tfrom app.rb:11:in `new'\r\n\tfrom app.rb:11:in `<main>```\r\n\r\nThe actual code refers to a method that is not used in the current Mongo gem.\r\n`@db = Mongo::Connection.new(options[:host], options[:port]).db(options[:db])`\r\nIt should be:\r\n`@db = Mongo::Client.new([:host+\":\"+:port], :database => :db)` or similar.\r\n\r\nIs there a way to force Ankusa to use an older Mongo gem?"}}