# File lib/chef/solr/solr_installer.rb, line 33 def from_file(file) file = File.expand_path(file) if File.readable?(file) instance_eval(IO.read(file), file, 1) else STDERR.puts "Cannot open config file #{file} default settings will be used" end self end