捆绑包安装不断安装到 ./runner

发布于 2024-12-27 01:46:33 字数 156 浏览 1 评论 0原文

不确定这里发生了什么,但在我的 Rails 3 应用程序中,我输入 bundle install ,最后如果显示 Your bundle is Complete!它被安装到./runner中。

很奇怪,因为我不知道跑步者来自哪里!

Not sure what's going on here, but in my Rails 3 application, I type bundle install and at the end if says Your bundle is complete! It was installed into ./runner.

Weird because I have no idea where runner is coming from!

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

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

发布评论

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

评论(1

醉生梦死 2025-01-03 01:46:33

如果我没记错的话,如果您运行类似于 bundle install ./runner 的内容,它会记住路径 ./runnerbundle install --system 应该修复它。我认为。

请参阅联机帮助页

--path=<path>
The location to install the gems in the bundle to.
This defaults to the gem home, which is the location
that gem install installs gems to. This means that, by
default, gems installed without a --path setting will
show up in gem list. This setting is a remembered option.

--system
Installs the gems in the bundle to the system location.
This overrides any previous remembered use of --path.

If I recall correctly, if you run something like bundle install ./runner it will remember the path ./runner. bundle install --system should fix it. i think.

See the manpage:

--path=<path>
The location to install the gems in the bundle to.
This defaults to the gem home, which is the location
that gem install installs gems to. This means that, by
default, gems installed without a --path setting will
show up in gem list. This setting is a remembered option.

--system
Installs the gems in the bundle to the system location.
This overrides any previous remembered use of --path.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文