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

NAME

6       bundle-console  - Deprecated way to open an IRB session with the bundle
7       pre-loaded
8

SYNOPSIS

10       bundle console [GROUP]
11

DESCRIPTION

13       Starts an interactive Ruby console session in the context of  the  cur‐
14       rent bundle.
15
16       If  no  GROUP  is  specified, all gems in the default group in the Gem‐
17       file(5) https://bundler.io/man/gemfile.5.html are preliminarily loaded.
18
19       If GROUP is specified, all gems in the given group in  the  Gemfile  in
20       addition  to  the  gems  in default group are loaded. Even if the given
21       group does not exist in the Gemfile, IRB  console  starts  without  any
22       warning or error.
23
24       The  environment  variable  BUNDLE_CONSOLE or bundle config set console
25       can be used to change the shell from the following:
26
27irb (default)
28
29pry (https://github.com/pry/pry)
30
31ripl (https://github.com/cldwalker/ripl)
32
33
34
35       bundle console uses irb by default. An alternative Pry or Ripl  can  be
36       used with bundle console by adjusting the console Bundler setting. Also
37       make sure that pry or ripl is in your Gemfile.
38

EXAMPLE

40       $ bundle config set console pry
41       $ bundle console
42       Resolving dependencies...
43       [1] pry(main)>
44

NOTES

46       This command was deprecated in Bundler 2.1 and will be removed in  3.0.
47       Use bin/console script, which can be generated by bundle gem <NAME>.
48

SEE ALSO

50       Gemfile(5) https://bundler.io/man/gemfile.5.html
51
52
53
54                                 February 2023               BUNDLE-CONSOLE(1)
Impressum