捆绑程序抱怨未填充的依赖版本,但 Gemfile 中没有此类条目

发布于 2024-12-18 03:29:56 字数 316 浏览 5 评论 0原文

在 Gemfile 和 Gemfile.lock 中,都没有关于 oauth2 (=0.5.0) 的内容,两者都设置为 0.4.1

这个依赖项写在哪里?

这是捆绑安装的输出结束

Bundler could not find compatible versions for gem "oauth2":
  In snapshot (Gemfile.lock):
    oauth2 (0.4.1)

  In Gemfile:
    diaspora-client depends on
      oauth2 (= 0.5.0)

In both, the Gemfile and in Gemfile.lock there's nothing about oauth2 (=0.5.0) , both are set to 0.4.1

Where is this dependency written?

Here's end of output from bundle install

Bundler could not find compatible versions for gem "oauth2":
  In snapshot (Gemfile.lock):
    oauth2 (0.4.1)

  In Gemfile:
    diaspora-client depends on
      oauth2 (= 0.5.0)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

秋千易 2024-12-25 03:29:56

我之前遇到过这个问题,对于我的情况,我只是使用没有防火墙或任何限制的网络重新安装所有内容。以前我使用的网络有很多限制,然后它一直给我错误。更改网络后,一切工作正常。

I faced this problem before, for my case, i just reinstall everything using a network where there is no firewall or any restriction. Previously i use a network with alot of restriction, then it keep give me error. After I change network, all work perfectly fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文