about summary refs log tree commit diff
path: root/app/lib/admin/system_check/elasticsearch_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/admin/system_check/elasticsearch_check.rb')
-rw-r--r--app/lib/admin/system_check/elasticsearch_check.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/admin/system_check/elasticsearch_check.rb b/app/lib/admin/system_check/elasticsearch_check.rb
index 8aee18267..a63988224 100644
--- a/app/lib/admin/system_check/elasticsearch_check.rb
+++ b/app/lib/admin/system_check/elasticsearch_check.rb
@@ -34,6 +34,7 @@ class Admin::SystemCheck::ElasticsearchCheck < Admin::SystemCheck::BaseCheck
   end
 
   def compatible_version?
+    return false if running_version.nil?
     Gem::Version.new(running_version) >= Gem::Version.new(required_version)
   end
 end