Search code examples
ruby-on-railssidekiq

Rails Sidekiq [User is not a module]


When I run:

bundle exec sidekiq

I got the error:

User is not a module

There is a 'User' module namespace in my rails app.

Do you know how to fix this problem?


Solution

  • You have a gem or application code that is trying to create a User class. You'll either need to track down that code or rename your module.