捆绑包锁定到 rest_client (1.8.3)

bundle is locked to rest_client (1.8.3)

Your bundle is locked to rest_client (1.8.3), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of rest_client (1.8.3) has removed it. You'll need to update your bundle to a different version of rest_client (1.8.3) that hasn't been removed in order to install.

rest_client 已弃用。这就是为什么您的捆绑器无法在任何来源中找到它的原因。您要么必须从 git 安装它,要么必须使用源代码 (RubyGems.org) 中的 rest-client。 但是您的 Gemfile.lock 文件已 rest_client 锁定。请按照以下步骤操作:

  1. 删除您的 Gemfile.lock 文件。
  2. 从您的 Gemfile 中删除 rest_client
  3. gem 'rest-client' 添加到您的 Gemfile
  4. bundle install.

希望您的问题得到解决。