Hi,

I'd like to share the ferret indexes between deployments of a Rails app.
At the moment the index is stored in #{RAILS_ROOT}/index meaning that it
gets moved and must be rebuilt after every deploy. I guess the simplest
solution would be to put it under log/ which is already shared by
capistrano, any other ideas?

Also, script/ferret_stop doesn't work when run on a fresh deploy without
a index/ dir. It gives an error like:

  
/home/jviney/Workspace/balrog/vendor/plugins/acts_as_ferret/lib/act_methods.rb:1
88:in `open':Errno::ENOENT: No such file or directory -
/home/jviney/Workspace/b
alrog/index/production/person

Even though it is set up to use DRb, it wrongly expects the index to be
present. Aaf shouldn't do anything with a local index when it is
supposed to be using DRb. The "unless options[:remote]" block in
act_methods.rb (line 136) should extend down to logger.debug five lines
later to avoid the call to find_last_index_version.

Cheers,
-Jonathan.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to