search for: basic_functions

Displaying 1 result from an estimated 1 matches for "basic_functions".

2009 Apr 07
4
/lib daemon folder: how do i add a module into the daemon?
I am using the daemons plugin. I have just one problem how do i add modules from the /lib folder to the /lib/daemons/daemon.rb file eg. /lib/basic_functions.rb this is the file i want to load in daemon.rb contents daemon.rb: #!/usr/bin/env ruby # You might want to change this ENV["RAILS_ENV"] ||= "production" require File.dirname(__FILE__) + "/../../config/environment" #require File.dirname(__FILE__) + "/../../l...