- I'm running this gem and inside
lib/slack_mailer.rb there are some undefined constants:
ActionController::Base
ActionView::Base
And seems like you don't need ActionView to render erb template file.
require 'erb'
ERB.new(File.read("file.erb")).result(binding)
it will see instance variables from the class from binding is passed
- In the file
lib/slack_mailer/delivery_worker.rb you used sidekiq but I don't see it in the Gemfile or slack_mailer.gemspec.