thoughtbot/capybara-webkit — pull request #221 by duelinmarkers (2011-11-29 14:31:10+00:00)
Title: Find OS more reliably with rbconfig. (Works with Jruby.)

Currently if you build on JRuby, CapybaraWebkitBuilder will always fall back to assuming OS X because `RUBY_PLATFORM` returns 'jruby'. `RbConfig::CONFIG['host_os']` should do the right thing everywhere.