class LaunchBase::Plugins::Sidekiq

Public Instance Methods

install() click to toggle source
# File lib/launch_base/plugins/sidekiq.rb, line 6
def install
  append_to_file 'Gemfile', "gem 'sidekiq', '~> 5.1'"
  touch 'Procfile'
  append_to_file 'Procfile', 'bundle exec sidekiq'
  empty_directory 'app/workers'
  run 'bundle install'
end