Permalink
Browse files

ThinkingSphinx fix - generate TS config before attempting rebuild.

  • Loading branch information...
thomasn committed Sep 9, 2009
1 parent 03b636b commit b230d7891e7f0e0eef8ea83e179c6ae3da2028d7
Showing with 2 additions and 2 deletions.
  1. +1 −1 config/deploy.rb
  2. +1 −1 script/sphinx_rebuild
View
@@ -91,6 +91,6 @@
run "chmod 0666 #{shared_path}/log/*"
run "chown -R apache:apache #{release_path}"
run "chown -R apache:apache #{shared_path}"
# FIXME # run "cd #{release_path} && rake RAILS_ENV=production ts:rebuild"
run "cd #{release_path} && rake RAILS_ENV=production ts:config ts:rebuild"
end
View
@@ -1,3 +1,3 @@
#!/bin/bash
cd /var/www/rails/forgetmenot/current
/usr/bin/rake RAILS_ENV=production ts:rebuild > /tmp/ts-rebuild.log 2>&1
/usr/bin/rake RAILS_ENV=production ts:config ts:rebuild > /tmp/ts-rebuild.log 2>&1

0 comments on commit b230d78

Please sign in to comment.