This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fri Mar 21 16:56:31 2014] [info] mod_fcgid: server app.domain.tld:/path/to/rails/root/current/public/dispatch.fcgi(3478208) started | |
/path/to/rails/root/shared/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:461:in `load_missing_constant': Circular dependency detected while autoloading constant Manager (RuntimeError) | |
from /path/to/rails/root/shared/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:184:in `const_missing' | |
from /path/to/rails/root/releases/20140321092310/app/admin/manager.rb:1:in `<top (required)>' | |
from /path/to/rails/root/shared/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:424:in `load' | |
from /path/to/rails/root/shared/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:424:in `block in load_file' | |
from /path/to/rails/root/shared/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:616:in `new_constants_in' | |
from /path/to/rails/root/shared/bundle/ruby/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workers are watched by built-in delayed_job_monitor | |
# Use [bundle exec] rake jobs:restart to restart delayed_job_monitor | |
# * if app in maintenance mode (cf. maintenance.html), will do nothing | |
# * else if delayed_job_monitor yet running, will do nothing | |
# * else will restart delayed_job_monitor | |
# Can be used via a cron, for example : | |
# 15 * * * * RAILS_ENV=testing bundle exec rake jobs:restart | |
namespace :jobs do | |
desc "Restart delayed_job_monitor if no worker yet running" |