Ruby 在MacOs上运行'bundle install--path vendor--binstubs'命令Lind时出错

Ruby 在MacOs上运行'bundle install--path vendor--binstubs'命令Lind时出错,ruby,rubygems,bundle,bundler,Ruby,Rubygems,Bundle,Bundler,我遵循一些安装说明,所以我可以在本地测试一个网站 说明书上说要做: gem install bundler # Works fine bundle install --path vendor --binstubs # Gives me deprecation errors and such 在这一行中,正确的方法是什么:bundle安装--path vendor--binstubs 完全错误: [DEPRECATED] The `--path` flag is deprecated becau

我遵循一些安装说明,所以我可以在本地测试一个网站

说明书上说要做:

gem install bundler # Works fine
bundle install --path vendor --binstubs # Gives me deprecation errors and such
在这一行中,正确的方法是什么:
bundle安装--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

谢谢

看起来我所需要做的就是将
cd
放入我试图构建并运行的repo的根目录中
bundle config set path'vendor'
然后
bundle install

感谢您分享解决方案