在任何来源中都找不到 rake-13.0.6 (Bundler::GemNotFound)

Could not find rake-13.0.6 in any of the sources (Bundler::GemNotFound)

由于 git 安全投诉,我对我正在处理的项目做了一些 gem 更新,现在我 运行 遇到了一个问题: 网络项目页面无法正常工作,出现错误 "Web application could not be started" 并抱怨 "Could not find rake-13.0.6 in any of the sources (Bundler::GemNotFound)"(尽管它在那里),并尝试 运行 rake(即我需要 rake ts:restart) 导致标题错误:因过时而删除,请参阅编辑

编辑:

我最终将我的项目回滚到 pre-update gemfile 和旧版本的 ruby 和 rails,但现在我遇到了这个问题再次(至少不再是那个有耙子的)。该页面一直给我 Could not find rake-13.0.6 in any of the sources (Bundler::GemNotFound) 错误。

当我尝试 运行 rake ts:start 时失败并显示错误:

...
bind() failed on 127.0.0.1, retrying...
FATAL: bind() failed on 127.0.0.1: Address already in use

我已经尝试了很多东西,现在正在寻找有关如何解决此问题的建议。

事实证明我的 nginx 配置不正确,它指向现在缺少 ruby 的 rvm 版本,我已将其替换为 rbenv 版本。