简体   繁体   English

Rails Sidekiq [用户不是模块]

[英]Rails Sidekiq [User is not a module]

When I run: 当我跑步时:

bundle exec sidekiq 捆绑执行程序sidekiq

I got the error: 我得到了错误:

User is not a module 用户不是模块

There is a 'User' module namespace in my rails app. 我的rails应用程序中有一个“用户”模块名称空间。

Do you know how to fix this problem? 您知道如何解决此问题吗?

You have a gem or application code that is trying to create a User class. 您有一个试图创建User类的gem或应用程序代码。 You'll either need to track down that code or rename your module. 您将需要跟踪该代码或重命名模块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM