Skip to content

Installation problem for edge: Zeitwerk::NameError: wrong constant name Refinerycms-authentication-devise inferred by Module from file #3479

@timreganporter

Description

@timreganporter

I'm doing a fresh install, using Rails 6.0.3.2 and Ruby 2.7.1.

Using: rails new rickrockstar -m https://www.refinerycms.com/t/edge

  • Bundle install seems to work but then the installation croaks on db:create with:
    Zeitwerk::NameError: wrong constant name Refinerycms-authentication-devise inferred by Module from file
    The relevant line in the Gemfile is:
    gem 'refinerycms-authentication-devise', git: 'https://github.com/refinery/refinerycms-authentication-dev

  • I tried changing the Gemfile entry to:
    gem 'refinerycms-authentication-devise', '~> 2.0.0'

and got this (which is similar to the error I get when installing from the 4.0 templates:

 In Gemfile:
    rails (~> 6.0.3, >= 6.0.3.2) was resolved to 6.0.3.2, which depends on
      actionmailer (= 6.0.3.2)

    refinerycms-authentication-devise (~> 2.0.0) was resolved to 2.0.0, which depends on
      actionmailer (< 5.2, >= 5.0.0)

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