lib/sunspot/solr/server.rb in sunspot_solr-2.2.7 vs lib/sunspot/solr/server.rb in sunspot_solr-2.2.8

- old
+ new

@@ -156,10 +156,10 @@ def solr_executable_directory @solr_executable_directory ||= File.dirname(solr_executable) end def exec_in_solr_executable_directory(command) - FileUtils.cd(solr_executable_directory) { exec(*command) } + FileUtils.cd(solr_executable_directory) { system(*command) } end # # Copy default solr configuration files from sunspot # gem to the new solr_home/config directory