{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b47d6954739799c53a489e9248bd97fe?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b47d6954739799c53a489e9248bd97fe","url":"https://api.github.com/users/vepkenez","login":"vepkenez","id":188812},"labels":[],"assignee":null,"updated_at":"2011-11-15T15:04:52Z","comments":4,"closed_at":null,"url":"https://api.github.com/repos/LearnBoost/mongoose/issues/613","body":"I have an implementation of addToSet that works fine in my dev environment on OSX but it fails with no error when I deploy in a linux environment.\r\n\r\nObviously there are many variables...\r\n\r\nbut I downgraded to 2.2.2 and it works perfectly in both places with that version.\r\n\r\n\r\n\r\n","html_url":"https://github.com/LearnBoost/mongoose/issues/613","title":"addToSet broken on linux in 2.3.12?","number":613,"id":2243269,"created_at":"2011-11-15T13:28:29Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b47d6954739799c53a489e9248bd97fe?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b47d6954739799c53a489e9248bd97fe","url":"https://api.github.com/users/vepkenez","login":"vepkenez","id":188812},"updated_at":"2011-11-15T15:04:52Z","url":"https://api.github.com/repos/LearnBoost/mongoose/issues/comments/2745949","body":"fixed syntax, reinstalled 2.3.12, still works on mac (and faster)\r\n\r\npulled the new version to the linux server, reinstall 2.3.12 and I get:\r\n```javascript\r\n{ stack: [Getter/Setter],\r\n  arguments: undefined,\r\n  type: undefined,\r\n  message: 'Invalid modifier specified $addToSet',\r\n  name: 'MongoError',\r\n  err: 'Invalid modifier specified $addToSet',\r\n  n: 0,\r\n  ok: 1 }","id":2745949,"created_at":"2011-11-15T15:04:52Z"}}