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

Desive JWT import in application.rb throwing is error #261

Open
farooqch11 opened this issue Mar 14, 2023 · 2 comments
Open

Desive JWT import in application.rb throwing is error #261

farooqch11 opened this issue Mar 14, 2023 · 2 comments
Labels

Comments

@farooqch11
Copy link

NoMethodError: undefined method `call' for {:default=>#<Dry::Container::Registry:0x0000000106decfe0 @_mutex=#<Thread::Mutex:0x0000000106decd88>>}:Hash

        config.registry.call(_container, key, item, options)
                       ^^^^^

@farooqch11 farooqch11 added the bug label Mar 14, 2023
@farooqch11
Copy link
Author

if we dont import rails 7 throws this error

rails aborted!
NoMethodError: undefined method `call' for {:default=>#<Dry::Container::Registry:0x00000001141a02b0 @_mutex=#<Thread::Mutex:0x00000001141a0238>>}:Hash

        config.registry.call(_container, key, item, options)
                       ^^^^^
/Users/macbookpro/Desktop/development/dashboard/config/application.rb:11:in `<top (required)>'
/Users/macbookpro/Desktop/development/dashboard/Rakefile:4:in `require'
/Users/macbookpro/Desktop/development/dashboard/Rakefile:4:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'

Caused by:
LoadError: cannot load such file -- devise-jwt
/Users/macbookpro/Desktop/development/dashboard/config/application.rb:11:in `<top (required)>'
/Users/macbookpro/Desktop/development/dashboard/Rakefile:4:in `require'
/Users/macbookpro/Desktop/development/dashboard/Rakefile:4:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)

@waiting-for-dev
Copy link
Owner

Thanks for reporting and sorry for the late reply. I'll take a look into it as soon as possible. In the meantime, any help is appreciated!

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

No branches or pull requests

2 participants