{"action":"created","issue":{"url":"https://api.github.com/repos/merit-gem/merit/issues/252","repository_url":"https://api.github.com/repos/merit-gem/merit","labels_url":"https://api.github.com/repos/merit-gem/merit/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/merit-gem/merit/issues/252/comments","events_url":"https://api.github.com/repos/merit-gem/merit/issues/252/events","html_url":"https://github.com/merit-gem/merit/issues/252","id":151937625,"number":252,"title":"uninitialized constant Merit::PointRules (NameError)","user":{"login":"bmatmentel","id":15235970,"avatar_url":"https://avatars.githubusercontent.com/u/15235970?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatmentel","html_url":"https://github.com/bmatmentel","followers_url":"https://api.github.com/users/bmatmentel/followers","following_url":"https://api.github.com/users/bmatmentel/following{/other_user}","gists_url":"https://api.github.com/users/bmatmentel/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatmentel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatmentel/subscriptions","organizations_url":"https://api.github.com/users/bmatmentel/orgs","repos_url":"https://api.github.com/users/bmatmentel/repos","events_url":"https://api.github.com/users/bmatmentel/events{/privacy}","received_events_url":"https://api.github.com/users/bmatmentel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-29T18:19:59Z","updated_at":"2016-04-29T18:39:16Z","closed_at":null,"body":"Hi,\r\nI am trying to use this gem and when I run:\r\n`rails g merit:install`\r\nI get this error\r\n`.../gems/merit-2.3.3/lib/merit.rb:89:in block (2 levels) in <class:Engine>': uninitialized constant Merit::PointRules (NameError)\r\n`\r\n\r\nThis is a legacy code so I am running for now ruby 2.0.0 with rails 4.0.4. I tried it with a later version of ruby (2.1.7) and older versions of merit, and I get the same error.\r\n\r\nAny tips, help  or suggestions are very welcomed!"},"comment":{"url":"https://api.github.com/repos/merit-gem/merit/issues/comments/215842635","html_url":"https://github.com/merit-gem/merit/issues/252#issuecomment-215842635","issue_url":"https://api.github.com/repos/merit-gem/merit/issues/252","id":215842635,"user":{"login":"bmatmentel","id":15235970,"avatar_url":"https://avatars.githubusercontent.com/u/15235970?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatmentel","html_url":"https://github.com/bmatmentel","followers_url":"https://api.github.com/users/bmatmentel/followers","following_url":"https://api.github.com/users/bmatmentel/following{/other_user}","gists_url":"https://api.github.com/users/bmatmentel/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatmentel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatmentel/subscriptions","organizations_url":"https://api.github.com/users/bmatmentel/orgs","repos_url":"https://api.github.com/users/bmatmentel/repos","events_url":"https://api.github.com/users/bmatmentel/events{/privacy}","received_events_url":"https://api.github.com/users/bmatmentel/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T18:39:16Z","updated_at":"2016-04-29T18:39:16Z","body":"I found a fix:\r\nin the file `lib/merit.rb`\r\nadd a rescue `NameError` line for `PointRules`.\r\n\r\nI would like to know from the Authors if this is the right approach?\r\n"}}