Refactor JRuby fix with more useful message
expand gh ref to full url
Merge pull request #322 from rspec/refactor_jruby_fix

Refactor the workaround for JRuby 1.7.4