【问题标题】:Errors running `bundle install --path vendor --binstubs on MacOs` command Lind在 MacOs 上运行 `bundle install --path vendor --binstubs` 命令行时出错
【发布时间】:2019-12-21 13:57:54
【问题描述】:

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

指令说要做:

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

谢谢!!

【问题讨论】:

    标签: ruby rubygems bundle bundler


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2018-01-02
      • 1970-01-01
      • 2015-03-12
      • 2022-08-16
      • 2019-07-12
      • 1970-01-01
      • 2016-06-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多