【发布时间】:2017-12-20 16:21:03
【问题描述】:
什么时候执行下面的命令?另外,你能解释一下它给我们带来了什么吗?
$ bundle install --binstubs
【问题讨论】:
什么时候执行下面的命令?另外,你能解释一下它给我们带来了什么吗?
$ bundle install --binstubs
【问题讨论】:
来自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.
【讨论】: