【问题标题】:What does bundle install --binstubs serve for us?bundle install --binstubs 为我们服务什么?
【发布时间】:2017-12-20 16:21:03
【问题描述】:

什么时候执行下面的命令?另外,你能解释一下它给我们带来了什么吗?

$ bundle install --binstubs

【问题讨论】:

    标签: ruby bundler gemfile


    【解决方案1】:

    来自bundle install --help 手册页

    --binstubs[=<directory>]
                  Creates a directory (defaults to ~/bin) and place any executables from the gem there. These executables run in Bundler's context. If used, you might add this directory to your
                  environment's PATH variable. For instance, if the rails gem comes with a rails executable, this flag will create a bin/rails executable that ensures that all  referred  depen-
                  dencies will be resolved using the bundled gems.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-03-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多