Patches: Browse | Submit New | Admin
RUBY_PLATFORM == 'java' does not work for Windows. RUBY_PLATFORM should either be checked against /java/ (because it's set to 'java mswin' on Windows) or you could check if JRUBY_VERSION was defined (prefered solution).
Add A Comment: