Sha256: 41399968015a69a5313aaeabd65c6df7a60149feb90ebbcd1a0e7bcbfe9960b8

Contents?: true

Size: 675 Bytes

Versions: 1

Compression:

Stored size: 675 Bytes

Contents

# Setup integration system for the integration suite

puts ["Please make sure that test/integration/app/vendor/rails is symlinked",
  "to a Rails trunk checkout in order for the rake tasks to run properly."]

Dir.chdir "#{File.dirname(__FILE__)}/integration/app/" do
  system("killall searchd")
  system("rm -rf /tmp/sphinx")
  system("rm -rf config/ultrasphinx/development.conf")
  Dir.chdir "vendor/plugins" do
    system("rm ultrasphinx; ln -s ../../../../../ ultrasphinx")
  end
  system("rake db:create")
  system("rake db:migrate db:fixtures:load")
  system("rake us:boot")
  system("rm /tmp/ultrasphinx-stopwords.txt")
  system("rake ultrasphinx:spelling:build")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ultrasphinx-1.6.7 test/setup.rb