Trouble with 'require' and 'include' in daemons

E

explainer

I am using the deamons gem to implement a set of daemons listening to
various things, and am launching the daemons from a Rails app. I am
having trouble with getting the require and include operations to work
in the daemon. I am assuming that I don't have the correct
environment/load path set up in the daemon, but I am unclear what I
need. I know I can set ENV variables in the daemon launcher, and see
them in the daemon, but don't know exactly which to set. I have set
the value of RAILS_ROOT in one ENV variable, that certainly helps, but
more is needed. Any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top