made a slightly nicer heads up about nil ca_file

This commit is contained in:
Ilya Zhitomirskiy 2011-06-09 16:28:45 -07:00
parent 7fd86924ee
commit 56525c9f4f

View file

@ -74,7 +74,7 @@ HELP
end
def self.no_cert_file_in_prod?
(Rails.env == "production") && !File.exists?(self[:ca_file])
(Rails.env == "production") && self[:ca_file] && !File.exists?(self[:ca_file])
end
def self.have_old_config_file?