#!/usr/bin/env ruby # Ferret DRb server launcher script # # Place doc/ferret_server.yml into RAILS_ROOT/config and fit to taste. # # Start this script with script/runner and RAILS_ENV set. # # to run the unit tests against the drb server, start it with # RAILS_ENV=test script/runner script/ferret_server # and run your tests with the AAF_REMOTE environment variable set to a # non-empty value ActsAsFerret::Remote::Server.start DRb.thread.join