nanite_agent generator resulting in an error

5 views
Skip to first unread message

glen

unread,
Nov 25, 2010, 5:07:31 AM11/25/10
to Daemon Kit
Hi,

I'm using daemon-kit (0.1.8.1) and nanite (0.4.1.17)

I used daemon-kit to generate a nanite_agent.

I am getting the following error on starting up the nanite_agent
/var/lib/gems/1.8/gems/daemon-kit-0.1.8.1/lib/daemon_kit/nanite/
agent.rb:17:in `alias_method': undefined method `load_actors' for
class `Nanite::Agent' (NameError)
from /var/lib/gems/1.8/gems/daemon-kit-0.1.8.1/lib/daemon_kit/nanite/
agent.rb:17

It appears to be the following lines of code which maybe causing it
alias_method :load_actors_without_daemon_kit_changes, :load_actors
alias_method :load_actors, :load_actors_with_daemon_kit_changes

Tweaking around with the gem I commented out the above two lines and
added the following

alias_method :load_actors_without_daemon_kit_changes, :load_actors_with_daemon_kit_changes

This gave me the following error.
/var/lib/gems/1.8/gems/daemon-kit-0.1.8.1/lib/daemon_kit/nanite/
agent.rb:53:in `run': uninitialized constant Nanite::Log (NameError)

Anybody facing the same issue?
Reply all
Reply to author
Forward
0 new messages