错误 运行 `bundle install --path vendor --binstubs on MacOs` command Line

Errors running `bundle install --path vendor --binstubs on MacOs` command Lind

我正在按照一些安装说明进行操作,以便可以在本地测试网站。

说明要求:

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

谢谢!!

看起来我需要做的就是 cd 进入我试图构建的 repo 的根目录,然后 运行 bundle config set path 'vendor' 然后 bundle install.