glen
unread,Nov 25, 2010, 5:07:31 AM11/25/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?