Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Can't run gem #4

@ivan-leschinsky

Description

@ivan-leschinsky
  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.

require 'erb'
ERB.new(File.read("file.erb")).result(binding)

it will see instance variables from the class from binding is passed

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions