Displaying 3 results from an estimated 3 matches for "safefork".
Did you mean:
safe_fork
2007 Mar 05
3
programatically stopping acts_as_ferret drb server
I need a way to kill the ferret_server drb process programatically, so I
can start/stop it as part of the capistrano deployment process.
This should be as simple as adding some sort of stop method to
ActsAsFerret::Remote::Server. I was just messing around and was able to
do it by modifying method_missing to look for the :stop method and then
calling DRb.thread.exit -- this is not good enough for
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
approach.
A unified script would allow more
2008 Mar 14
0
acts_as_ferret issue on windows
...but when I try to start the server I get the
following:
D:\test>ruby script\ferret_server --debug start
fork() function is unimplemented on this machine
D:/test/vendor/plugins/acts_as_ferret/lib/unix_daemon.rb:41:in `fork''
D:/test/vendor/plugins/acts_as_ferret/lib/unix_daemon.rb:41:in
`safefork''
D:/test/vendor/plugins/acts_as_ferret/lib/unix_daemon.rb:11:in
`platform_daemon''
D:/test/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:78:in `start''
./script/../vendor/plugins/acts_as_ferret/lib/server_manager.rb:53:in
`send''
./script/../vendor/plugins/act...