Skip to content

Instantly share code, notes, and snippets.

@jesperronn jesperronn/Gemfile
Created Apr 29, 2016

What would you like to do?
SuckerPunch for Rails (Rails 4.2). These are the only changes I needed to get started
# add this line to your `Gemfile`:
gem 'sucker_punch'
# config/initializers/sucker_punch.rb
Rails.application.configure do
config.active_job.queue_adapter = :sucker_punch
# if you want to use Sucker Punch version 2.0.0+ with Rails < 5.0.0, be sure to
# include the backwards compatibility module in an initializer:
require 'sucker_punch/async_syntax'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.