Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure_warden!': undefined method failure_app=' for nil:NilClass (NoMethodError) warden_config.failure_app = Devise::Delegator.new #5605

Open
Arun-StarApps opened this issue Jun 29, 2023 · 0 comments

Comments

@Arun-StarApps
Copy link

Hi everyone

i've created my one gem which have engine on it
engine.rb

module Test
    class Engine < ::Rails::Engine
      isolate_namespace Test
    end
  end
  

tests_controller.rb

module Test
  class TestsController < ActionController::Base
    include ActionDispatch
    def test 
        puts "inside test controller"
    end
  end
end

routes.rb

Test::Engine.routes.draw do
     post 'test' => 'tests#test'
end

Current behavior

After installing test gem i'm getting error
configure_warden!': undefined method failure_app=' for nil:NilClass (NoMethodError) warden_config.failure_app = Devise::Delegator.new`

Getting above error only when 'test' gem installed after 'device' gem but when i'm moving test
gem above devise gem it's working file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant