{"action":"closed","issue":{"url":"https://api.github.com/repos/rtomayko/ronn/issues/87","labels_url":"https://api.github.com/repos/rtomayko/ronn/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/rtomayko/ronn/issues/87/comments","events_url":"https://api.github.com/repos/rtomayko/ronn/issues/87/events","html_url":"https://github.com/rtomayko/ronn/issues/87","id":54367560,"number":87,"title":"`sniff': uninitialized constant Ronn::Document::Markdown (NameError)","user":{"login":"steakknife","id":224304,"avatar_url":"https://avatars.githubusercontent.com/u/224304?v=3","gravatar_id":"","url":"https://api.github.com/users/steakknife","html_url":"https://github.com/steakknife","followers_url":"https://api.github.com/users/steakknife/followers","following_url":"https://api.github.com/users/steakknife/following{/other_user}","gists_url":"https://api.github.com/users/steakknife/gists{/gist_id}","starred_url":"https://api.github.com/users/steakknife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steakknife/subscriptions","organizations_url":"https://api.github.com/users/steakknife/orgs","repos_url":"https://api.github.com/users/steakknife/repos","events_url":"https://api.github.com/users/steakknife/events{/privacy}","received_events_url":"https://api.github.com/users/steakknife/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T19:49:45Z","updated_at":"2015-01-14T19:58:17Z","closed_at":"2015-01-14T19:58:17Z","body":"```shell\r\n$ ronn /Users/bmf/.gem/ruby/2.2.0/gems/bundler-1.7.10/man/bundle-config.ronn\r\n/Users/bmf/.gem/ruby/2.2.0/gems/ronn-0.7.3/lib/ronn/document.rb:191:in `sniff': uninitialized constant Markdown (NameError)\r\n\tfrom /Users/bmf/.gem/ruby/2.2.0/gems/ronn-0.7.3/lib/ronn/document.rb:76:in `initialize'\r\n\tfrom /Users/bmf/.gem/ruby/2.2.0/gems/ronn-0.7.3/bin/ronn:166:in `new'\r\n\tfrom /Users/bmf/.gem/ruby/2.2.0/gems/ronn-0.7.3/bin/ronn:166:in `block in <top (required)>'\r\n\tfrom /Users/bmf/.gem/ruby/2.2.0/gems/ronn-0.7.3/bin/ronn:166:in `map'\r\n\tfrom /Users/bmf/.gem/ruby/2.2.0/gems/ronn-0.7.3/bin/ronn:166:in `<top (required)>'\r\n\tfrom /Users/bmf/.gem/ruby/2.2.0/bin/ronn:23:in `load'\r\n\tfrom /Users/bmf/.gem/ruby/2.2.0/bin/ronn:23:in `<main>'\r\n$\r\n```\r\n\r\nThis is a cross-domain issue, apparently a conflict in the order between how Ruby *native extensions* and Ruby *files* are loaded, specifically in rdiscount.\r\n\r\n```\r\n...\r\n/Users/bmf/.gem/ruby/2.2.0/gems/rdiscount-1.6.8/lib/rdiscount.bundle\r\n/Users/bmf/.gem/ruby/2.2.0/gems/rdiscount-1.6.8/lib/rdiscount.rb\r\n...\r\n```\r\n\r\n  There's a [PR in RubyGems](https://github.com/rubygems/rubygems/pull/1137) to swap the order, and so fixing this issue, however it seems it may take a little more retooling to not break things and to fix it for the future.\r\n\r\nMRI 2.2.0\r\nRubyGems 2.4.5\r\nbundler 1.7.10\r\nronn 0.7.3\r\nrdiscount 1.6.8\r\nOSX"}}