When using namespaced agents, with the recommended directory tree structure, the directory to be added to the Ruby load path appears to be based on "the parent directory of where the agent file was found", not "the parent directory of the agent_path config parameter". This console session should show the problem:
That directory that's being added to the load path is the wrong one, being buried up under the agents directory, rather than being /home/thoth/app/current/lib like it should be.
When using namespaced agents, with the recommended directory tree structure, the directory to be added to the Ruby load path appears to be based on "the parent directory of where the agent file was found", not "the parent directory of the
agent_path
config parameter". This console session should show the problem:That directory that's being added to the load path is the wrong one, being buried up under the
agents
directory, rather than being/home/thoth/app/current/lib
like it should be.