何时执行以下命令?另外,你能解释一下它给我们带来了什么吗?
$ bundle install --binstubs
答案 0 :(得分:2)
来自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.