Displaying 1 result from an estimated 1 matches for "mailer_ctl".
2010 Oct 06
3
Script acting differently inside of rake task
I''ve created a rake task that does various things, one of which is
calling a script. When I call that script from my Rails.root folder,
it works, but it doesn''t work inside my rake task. [This is rails 3]
That is, the following line works from bash:
lib/daemons/mailer_ctl start
However, inside my rake task, this line does not work:
puts `lib/daemons/mailer_ctl start`
The error message is:
lib/daemons/mailer_ctl:3:in `require'': no such file to load -- daemons
(LoadError)
from lib/daemons/mailer_ctl:3
So, it can''t be a problem with the current...