sunspot/sunspot — pull request #385 by felixbuenemann (2013-03-24 02:32:11+00:00)
Title: Silence Java detection by redirecting STDERR

This supresses the output form `java -version` everytime `installed?` is run.

It adds a line for os detection, because Windows names it's null device differently.

Tested on MRI 1.8.7, 1.9.3, 2.0.0.