jruby/jruby — pull request #615 by tychobrailleur (2013-03-30 11:01:38+00:00)
Title: Restore $! when catching exception.

Hack-ish workaround for [JRUBY-7134](https://jira.codehaus.org/browse/JRUBY-7134) that restores `$!` when an exception is thrown when checking whether the dir exists.

Added also pull request for [rubyspec](https://github.com/rubyspec/rubyspec/pull/191).