blob: 62d2b1acee555d721b81f61657bc7ac5f4b522d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Setup integration system for the integration suite
Dir.chdir "#{File.dirname(__FILE__)}/integration/app/" do
`ps awx`.split("\n").grep(/4304[1-3]/).map do |process|
system("kill -9 #{process.to_i}")
end
LOG = "/tmp/memcached.log"
system "memcached -vv -p 43042 >> #{LOG} 2>&1 &"
system "memcached -vv -p 43043 >> #{LOG} 2>&1 &"
Dir.chdir "vendor/plugins" do
system "rm interlock; ln -s ../../../../../ interlock"
end
system "rake db:create"
system "rake db:migrate"
system "rake db:fixtures:load"
end
|