lib/solrj_wrapper.rb in solrj_wrapper-1.0.2 vs lib/solrj_wrapper.rb in solrj_wrapper-1.1.0

- old
+ new

@@ -105,9 +105,9 @@ protected # require all the necessary jars to use Solrj classes def load_solrj(solrj_jar_dir) - Dir["#{solrj_jar_dir}/*.jar"].each {|jar_file| require jar_file } + Dir["#{solrj_jar_dir}/*.jar"].each {|jar_file| require File.expand_path(jar_file) } end end \ No newline at end of file