> sure, put the ferret index directory in the capistrano shared directory,
> and have capistrano symlink it in. The same way the log/ and tmp/
> directories are handled.
Example:
In my deploy.rb file, I added (edited) :
desc "Set up the shared index"
task :after_setup, :roles => [:app, :web] do
run "mkdir -p -m 777 #{shared_path}/index"
end
desc "symlink the index"
task :after_update, :roles => [:app, :web] do
run "ln -nfs #{shared_path}/index #{current_release}/index"
end
Alain
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk