Sha256: d8919711353e78dc5fb6ca49c647ac0d468090288646d5828d6a46147acbf9a2

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 KB

Contents

bundle-console(1) -- Open an IRB session with the bundle pre-loaded
===================================================================

## SYNOPSIS

`bundle console` [GROUP]

## DESCRIPTION

Starts an interactive Ruby console session in the context of the current bundle.

If no `GROUP` is specified, all gems in the `default` group in the [Gemfile(5)](https://bundler.io/man/gemfile.5.html) are
preliminarily loaded.

If `GROUP` is specified, all gems in the given group in the Gemfile in addition
to the gems in `default` group are loaded. Even if the given group does not
exist in the Gemfile, IRB console starts without any warning or error.

The environment variable `BUNDLE_CONSOLE` or `bundle config set console` can be used to change
the shell from the following:

* `irb` (default)
* `pry` (https://github.com/pry/pry)
* `ripl` (https://github.com/cldwalker/ripl)

`bundle console` uses irb by default. An alternative Pry or Ripl can be used with
`bundle console` by adjusting the `console` Bundler setting. Also make sure that
`pry` or `ripl` is in your Gemfile.

## EXAMPLE

    $ bundle config set console pry
    $ bundle console
    Resolving dependencies...
    [1] pry(main)>

## SEE ALSO

[Gemfile(5)](https://bundler.io/man/gemfile.5.html)

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
rubygems-update-3.6.3 bundler/lib/bundler/man/bundle-console.1.ronn
bundler-2.6.3 lib/bundler/man/bundle-console.1.ronn
rubygems-update-3.6.2 bundler/lib/bundler/man/bundle-console.1.ronn
bundler-2.6.2 lib/bundler/man/bundle-console.1.ronn
rubygems-update-3.6.1 bundler/lib/bundler/man/bundle-console.1.ronn
bundler-2.6.1 lib/bundler/man/bundle-console.1.ronn
rubygems-update-3.6.0 bundler/lib/bundler/man/bundle-console.1.ronn
bundler-2.6.0 lib/bundler/man/bundle-console.1.ronn