{"action":"created","issue":{"url":"https://api.github.com/repos/dmarcotte/github-markdown-preview/issues/35","labels_url":"https://api.github.com/repos/dmarcotte/github-markdown-preview/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/dmarcotte/github-markdown-preview/issues/35/comments","events_url":"https://api.github.com/repos/dmarcotte/github-markdown-preview/issues/35/events","html_url":"https://github.com/dmarcotte/github-markdown-preview/issues/35","id":56071746,"number":35,"title":"unitialized constant GitHub (NameError)","user":{"login":"whatasunnyday","id":1108341,"avatar_url":"https://avatars.githubusercontent.com/u/1108341?v=3","gravatar_id":"","url":"https://api.github.com/users/whatasunnyday","html_url":"https://github.com/whatasunnyday","followers_url":"https://api.github.com/users/whatasunnyday/followers","following_url":"https://api.github.com/users/whatasunnyday/following{/other_user}","gists_url":"https://api.github.com/users/whatasunnyday/gists{/gist_id}","starred_url":"https://api.github.com/users/whatasunnyday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatasunnyday/subscriptions","organizations_url":"https://api.github.com/users/whatasunnyday/orgs","repos_url":"https://api.github.com/users/whatasunnyday/repos","events_url":"https://api.github.com/users/whatasunnyday/events{/privacy}","received_events_url":"https://api.github.com/users/whatasunnyday/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-30T19:07:58Z","updated_at":"2015-08-03T23:11:37Z","closed_at":null,"body":"Hiya,\r\n\r\nI'm ruby 2.2.0 and I just installed github-markdown-preview using gem install. I got this stacktrace:\r\n\r\n```\r\n/home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require': uninitialized constant GitHub (NameError)\r\n        from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'\r\n        from /home/wasd/.gem/ruby/2.2.0/gems/html-pipeline-1.11.0/lib/html/pipeline/markdown_filter.rb:2:in `<top (required)>'\r\n        from /home/wasd/.gem/ruby/2.2.0/gems/github-markdown-preview-3.1.3/lib/github-markdown-preview/html_preview.rb:68:in `pipeline_filters'\r\n        from /home/wasd/.gem/ruby/2.2.0/gems/github-markdown-preview-3.1.3/lib/github-markdown-preview/html_preview.rb:41:in `initialize'\r\n        from /home/wasd/.gem/ruby/2.2.0/gems/github-markdown-preview-3.1.3/bin/github-markdown-preview:31:in `new'\r\n        from /home/wasd/.gem/ruby/2.2.0/gems/github-markdown-preview-3.1.3/bin/github-markdown-preview:31:in `<top (required)>'\r\n        from /home/wasd/.gem/ruby/2.2.0/bin/github-markdown-preview:23:in `load'\r\n        from /home/wasd/.gem/ruby/2.2.0/bin/github-markdown-preview:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/dmarcotte/github-markdown-preview/issues/comments/127428718","html_url":"https://github.com/dmarcotte/github-markdown-preview/issues/35#issuecomment-127428718","issue_url":"https://api.github.com/repos/dmarcotte/github-markdown-preview/issues/35","id":127428718,"user":{"login":"dmarcotte","id":711001,"avatar_url":"https://avatars.githubusercontent.com/u/711001?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarcotte","html_url":"https://github.com/dmarcotte","followers_url":"https://api.github.com/users/dmarcotte/followers","following_url":"https://api.github.com/users/dmarcotte/following{/other_user}","gists_url":"https://api.github.com/users/dmarcotte/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarcotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarcotte/subscriptions","organizations_url":"https://api.github.com/users/dmarcotte/orgs","repos_url":"https://api.github.com/users/dmarcotte/repos","events_url":"https://api.github.com/users/dmarcotte/events{/privacy}","received_events_url":"https://api.github.com/users/dmarcotte/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T23:11:37Z","updated_at":"2015-08-03T23:11:37Z","body":"Argh... thanks for trying.  This really has me flummoxed.\r\n\r\nIf anyone that is currently in this state is feeling enterprising, it would be really helpful to try and boil this down some.  A couple of potential things to try:\r\n* is it possible to make a simple script which includes `github-markdown` [the way html-pipeline does](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/markdown_filter.rb#L2) and get this error by trying to reference the `Github` constant?)\r\n* is there a simple set of gems that can be reinstalled to fix this?  I was clearly wrong about the json gem being culprit, but since re-installing everything fixes things, there must be a culprit or two in there somewhere.  Maybe retrying github-markdown is an option?  Something else?)\r\n\r\nFor anyone just looking to work around this, so far only the nuclear option has worked reliably: reinstall all your gems (or, for rvm users, empty your gemset)"}}