ruby on rails - Heroku fails to perform clockwork delayed tasks -
i having clockwork configuration file(inside lib folder) queues file's methods perform delayed tasks.
require_relative "adwords/extractor"
it working fine on local machine (webrick running on win8). on heroku, failing following error:
'app[web.1]: /app/lib/clock.rb:5:in `require_relative': cannot load such file -- /app/li b/adwords/extractor (loaderror)'
the extractor.rb script located @ same place mentioned error statement.
try out
require "#{rails.root}/app/lib/adwords/extractor"
use relative path rails app.
Comments
Post a Comment