1. 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. ```ruby require 'erb' ERB.new(File.read("file.erb")).result(binding) ``` it will see instance variables from the class from `binding` is passed 2. 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`.
lib/slack_mailer.rbthere are some undefined constants:And seems like you don't need
ActionViewto rendererbtemplate file.it will see instance variables from the class from
bindingis passedlib/slack_mailer/delivery_worker.rbyou usedsidekiqbut I don't see it in theGemfileorslack_mailer.gemspec.