Also brings the code inline with tenderlove's original gist.
Fix for issue #1606 and #1508 with jruby and JRE 1.7. Also brings the…
… code inline with tenderlove's original gist.
Just adding a reference link to the jruby issue: http://jira.codehaus.org/browse/JRUBY-6196
Also affected me - thanks for the workaround, hopefully will get merged soon.
This pull request fails (merged a260df2 into 7f7f7c0).
closing since this was added in 29d01fd.