Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Fixes #150, #147] Properly detects Java JRE on Windows

commit 721d3419492852533764d58f2c7f398687891a94 1 parent b08af13
@alindeman alindeman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sunspot_solr/lib/sunspot/solr/java.rb
View
2  sunspot_solr/lib/sunspot/solr/java.rb
@@ -2,7 +2,7 @@ module Sunspot
module Solr
module Java
def self.installed?
- `java -version &> /dev/null`
+ `java -version`
$?.success?
end
end

1 comment on commit 721d341

@kathanboss

Where is this file? I can't find it anywhere. Thanks!

Please sign in to comment.
Something went wrong with that request. Please try again.