Permalink
Browse files

Fixing windows test in rake file. From 'if windows' to 'unless windows'

  • Loading branch information...
1 parent 6ebebf4 commit dcded25f03574c77d80f6170ab230420b180b0c0 Ian Moss committed Jun 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/acts_as_solr/tasks/solr.rake
@@ -27,7 +27,7 @@ namespace :solr do
end
end
sleep(5)
- File.open("#{SOLR_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} if windows
+ File.open("#{SOLR_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
puts "#{ENV['RAILS_ENV']} Solr started successfully on #{SOLR_PORT}, pid: #{pid}."
end
end

0 comments on commit dcded25

Please sign in to comment.