Hi.
We’ve had some problems with ferret not being able to load our classes
(stack trace below for the curious).
I nailed it down to a deployment issue, where an old instance of ferret
drb was running. I don’t understand the details quite yet, but the
result was the the old ferret was never shutdown during redeployment,
and attempts were made to start up a new one.
Anywho, I stumbled acroess the ferret_server.log and ferret_index.log,
is it correctly understood, that ferret_server.log is basically the drb
server output, while ferret_index.log is the index manager output?
A bonus question, what’s the best way to determine that your application
(using acts_as_ferret) is currently running against the drb server
rather than the file system?
Thanks!
Morten
uninitialized constant Ticket
(druby://127.0.0.1:9009)
./script/…/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:266:in
load_missing_constant' (druby://127.0.0.1:9009) ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:452:in
const_missing’
(druby://127.0.0.1:9009)
./script/…/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:464:in
const_missing' (druby://127.0.0.1:9009) ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:250:in
constantize’
(druby://127.0.0.1:9009)
./script/…/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/core_ext/string/inflections.rb:148:in
constantize' (druby://127.0.0.1:9009) ./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:112:in
with_class’
(druby://127.0.0.1:9009)
./script/…/config/…/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:78:in
ensure_index_exists' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in
send’
/data/fiddle/current/config/…/vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in
method_missing' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/act_methods.rb:182:in
acts_as_ferret’
/data/fiddle/current/config/…/app/models/ticket.rb:37