Skip to content

Commit

Permalink
[Fixes sunspot#150, sunspot#147] Properly detects Java JRE on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alindeman committed Dec 22, 2011
1 parent 65ced78 commit 33e21b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunspot_solr/lib/sunspot/solr/java.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Sunspot
module Solr
module Java
def self.installed?
`java -version &> /dev/null`
`java -version`
$?.success?
end
end
Expand Down

0 comments on commit 33e21b7

Please sign in to comment.