Skip to content

Undefined method 'new' for Slack:Module #6

@mknarciso

Description

@mknarciso

Hi @ginjo !

Trying to change 'omniauth-slack' for 'ginjo-omniauth-slack' on the Gemfile gives me this error when I run the server:

/usr/local/rvm/gems/ruby-2.3.4/gems/actionpack-5.1.2/lib/action_dispatch/middleware/stack.rb:35:in `build': undefined method `new' for Slack:Module (NoMethodError)
        from /usr/local/rvm/gems/ruby-2.3.4/gems/actionpack-5.1.2/lib/action_dispatch/middleware/stack.rb:99:in `block in build'
        from /usr/local/rvm/gems/ruby-2.3.4/gems/actionpack-5.1.2/lib/action_dispatch/middleware/stack.rb:99:in `each'
        from /usr/local/rvm/gems/ruby-2.3.4/gems/actionpack-5.1.2/lib/action_dispatch/middleware/stack.rb:99:in `inject'
        from /usr/local/rvm/gems/ruby-2.3.4/gems/actionpack-5.1.2/lib/action_dispatch/middleware/stack.rb:99:in `build'
...

Using:

Rails 5.1.2
Puma 3.9.1
Ruby 2.3.4

Any advice on debbuging this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions