进入“运行/调试配置” 添加一个新的Gem命令 将“sidekiq”输入为Gem名称和可执行文件名称 在“Bundler”选项卡下勾选“在bundle上下文中运行脚本(bundle exec)” 单击“应用”然后运行它。