You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/manoelquirino/.rbenv/versions/2.2.2/gemsets/facebook_crawler/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:478:in `load_missing_constant': Circular dependency detected while autoloading constant AdPost (RuntimeError)
My clock.rb
require_relative 'config/boot'
require_relative 'config/environment'
require 'clockwork'
include Clockwork
configure do |config|
config[:tz] = 'America/Recife'
end
every 1.minute, "NewCrawlerFetchNewPostsWorker" do
NewCrawlerFetchNewPostsWorker.perform_async
end
every 1.minute, "GetPmsCrawlWorker" do
GetPmsCrawlWorker.perform_async
end
every 1.minute, "GetCrawlPostsWorker" do
GetCrawlPostsWorker.perform_async
end
every 1.minute, "GetTwitterCrawlWorker" do
GetTwitterCrawlWorker.perform_async
end
every 1.minute, "GetCrawlWorker" do
GetCrawlWorker.perform_async
end
every 1.minute, "NewCrawlerCollectPostsFromRedisWorker" do
NewCrawlerCollectPostsFromRedisWorker.perform_async
end
every 1.minute, "RefreshAdCronWorker" do
RefreshAdCronWorker.perform_async
end
every 1.minute, "AdUserControllerWorker" do
AdUserControllerWorker.perform_async
end
every 30.minutes, "NewCrawlerPushCollectPostsToRedisWorker" do
NewCrawlerPushCollectPostsToRedisWorker.perform_async
end
When I do clockwork clock.rb, works properly.
But when I do clockworkd run, appear this Circular dependecy error.
Tried to run with bundle, no success at all.
The text was updated successfully, but these errors were encountered:
Rails 4.1.9
/Users/manoelquirino/.rbenv/versions/2.2.2/gemsets/facebook_crawler/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:478:in `load_missing_constant': Circular dependency detected while autoloading constant AdPost (RuntimeError)
My clock.rb
When I do
clockwork clock.rb
, works properly.But when I do
clockworkd run
, appear this Circular dependecy error.Tried to run with bundle, no success at all.
The text was updated successfully, but these errors were encountered: