1BUNDLE-BINSTUBS(1)                                          BUNDLE-BINSTUBS(1)
2
3
4

NAME

6       bundle-binstubs - Install the binstubs of the listed gems
7

SYNOPSIS

9       bundle binstubs GEM_NAME [--force] [--path PATH] [--standalone]
10

DESCRIPTION

12       Binstubs  are  scripts  that wrap around executables. Bundler creates a
13       small Ruby file (a binstub) that loads Bundler, runs the  command,  and
14       puts  it  into  bin/. Binstubs are a shortcut-or alternative- to always
15       using bundle exec. This gives you a file that can be run directly,  and
16       one  that  will always run the correct gem version used by the applica‐
17       tion.
18
19       For example, if you run bundle binstubs rspec-core, Bundler will create
20       the file bin/rspec. That file will contain enough code to load Bundler,
21       tell it to load the bundled gems, and then run rspec.
22
23       This command generates binstubs for executables in  GEM_NAME.  Binstubs
24       are  put into bin, or the --path directory if one has been set. Calling
25       binstubs with [GEM [GEM]] will create binstubs for all given gems.
26

OPTIONS

28       --force
29              Overwrite existing binstubs if they exist.
30
31       --path The location to install the specified binstubs to. This defaults
32              to bin.
33
34       --standalone
35              Makes  binstubs  that  can work without depending on Rubygems or
36              Bundler at runtime.
37
38       --shebang
39              Specify a different shebang executable  name  than  the  default
40              (default ´ruby´)
41
42       --all  Create binstubs for all gems in the bundle.
43
44
45
46
47                                 January 2021               BUNDLE-BINSTUBS(1)
Impressum