gip*_*any 4 ruby bundler gemfile
什么时候执行下面的命令?另外,你能解释一下它给我们带来了什么吗?
$ bundle install --binstubs
Run Code Online (Sandbox Code Playgroud)
来自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.
Run Code Online (Sandbox Code Playgroud)