Skip to content

Instantly share code, notes, and snippets.

@thedeerchild
Created June 26, 2013 17:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thedeerchild/5869465 to your computer and use it in GitHub Desktop.
Save thedeerchild/5869465 to your computer and use it in GitHub Desktop.
Disable Rails delayed jobs for local development environment.
#config/initializers/delayed_job_config.rb
if Rails.env.development?
Delayed::Worker.delay_jobs = false
else
{file contents}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment