|
2
|
| DenCowboy · 技术社区 · 7 年前 |
|
|
1
159
Bundler版本2引入了一项新功能,可自动使用中指定的Bundler版本
Bundler将尝试使用Bundler版本运行<2.0. 由于您刚刚安装了Bundler 2.0.1(并且Rubygems>=2.7.0),因此此操作将失败,并显示此毫无帮助的错误消息。 要解决这个问题,你可以
有关这方面的更多信息,请访问 Bundler blog . |
|
|
2
89
根据文章中提到的描述,在运行下面提到的命令之前:
在脚本中,需要运行以下命令:
如果不起作用,请更新bundler命令:
bundler 2.0中中断功能的原因见以下链接: https://bundler.io/blog/2019/01/04/an-update-on-the-bundler-2-release.html |
|
|
3
43
我甚至做不到
从此处获取信息(类似问题): find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException) 可能是ruby+gem+bundler之间的版本不匹配 |
|
|
4
18
|
|
|
5
4
我最近也有同样的问题。 就我而言,我在bundler上安装了一个不同于Gemfile.lock中记录的版本。请查收 |
|
6
3
要修复它,请先运行
如果本地没有安装bundler gem,请运行
这就是全部 我希望这有帮助 |
|
7
2
您必须通过运行以下命令来安装RubyGems正在寻找的Bundler的确切版本:
|
|
|
8
1
我今天也遇到了同样的错误。我以前在系统中安装的bundler版本是:1.16.6 按照上的官方捆绑包文档中的说明进行操作 How to Upgrade to Bundler 2 下面的两个步骤成功了:
|
|
9
1
在将mac os升级到Catalina之后,我看到了travis捆绑包的类似错误消息。
|
|
|
10
1
|
|
|
11
0
是的,这是有效的:
https://bundler.io/blog/2019/05/14/solutions-for-cant-find-gem-bundler-with-executable-bundle.html |
|
cluster1 · 采取独立的新行动的好处是什么? 1 年前 |
|
|
Robert · 使用JSON或哈希时,将NULL替换为NIL 1 年前 |
|
|
Fred Willmore · Rails控制器不呈现任何模板 2 年前 |
|
|
Diogo Amaral · 实现API请求的正确方式 2 年前 |
|
|
Meknassih · 在控制器方法中分配给模型没有任何作用 2 年前 |
|
|
Michael Ding · Rails上的默认会话到期问题 2 年前 |
|
|
Flávio · 基于另外两个生成数组 2 年前 |