Displaying 5 results from an estimated 5 matches for "ferret_stop".
2007 Oct 08
7
Unified ferret_start and ferret_stop
I would like to unify the ferret_start and ferret_stop scripts into a
single script. My motivation is to make the scripts more like the other
rails scripts, and to also make it fit into monitoring schemes better.
I realize that some work was done recently to allow the scripts to be
run from script/runner, but I think a unified script is a better
appro...
2007 Dec 02
1
solaris SMF to start ferret drb server
Jesse Grosjean wrote:
> I''m trying to write a solaris SMF file to launch the ferret drb server.
Hmm, I think I''ve hit a similar problem. I''ve just upgraded to the
latest ferret trunk from an old aaf stable where the script/ferret_start
and script/ferret_stop scripts were still in use.
now if I call the old script...
RAILS_ENV=production script/ferret_start
script/ferret_start:25:in `load'': wrong number of arguments (0 for 1)
(ArgumentError)
from script/ferret_start:25
but if I call the new script...
ruby script/ferret_server -e pr...
2007 Apr 23
1
Launching DRb server on reboot: solved
...roduction \
vendor/plugins/acts_as_ferret/script/ferret_start
;;
stop)
cd $RORPATH
echo "Stopping ferret DRb server."
FERRET_USE_LOCAL_INDEX=1 \
script/runner -e production \
vendor/plugins/acts_as_ferret/script/ferret_stop
;;
*)
echo $"Usage: $0 {start, stop}"
exit 1
;;
esac
cd $CURDIR
2007 Jun 28
3
acts_as_ferret and capistrano
...t 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...
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
I have spent days trying to figure out how to get UTF-8 working with my
site.
Here''s my environment:
Linux version 2.6.16.29-xen_3.0.3.0
Ruby 1.8.4 (2005-12-24 [i386-linux]
Rails 1.2.3
mongrel (1.0.1)
mongrel_cluster (1.0.2, 0.2.1)
ferret (0.11.4)
acts_as_ferret stable plugin
Ferret DRB server
When I don''t use an analyzer with my acts_as_ferret declaration,
everything works