在MacOs命令Lind上运行`bundle install --path vendor --binstubs时出错。>

问题描述 投票:0回答:1

我正在遵循一些安装说明,因此可以在本地测试网站。

说明要执行的操作:

gem install bundler # Works fine
bundle install --path vendor --binstubs # Gives me deprecation errors and such

执行此行中正在执行的操作的正确方法是什么:bundle install --path vendor --binstubs

完整错误:

[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor'`, and stop using this flag
[DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs`
Could not locate Gemfile

谢谢!

我正在遵循一些安装说明,因此可以在本地测试网站。说明要执行以下操作:gem install bundler#运行良好的bundle install --path vendor --binstubs#给我...

ruby rubygems bundle bundler
1个回答
0
投票

[看起来我需要做的就是将cd放入要构建并运行bundle config set path 'vendor'然后bundle install的仓库的根中。

© www.soinside.com 2019 - 2024. All rights reserved.