Getting Started
Guides
Dependency Management
- How to manage application dependencies with Bundler
- How to manage dependencies with Bundler
- How to update gems with Bundler
- How to manage groups of gems
- How to install gems from git repositories
- Recommended Workflow with Version Control
- How to use Bundler with Ruby
- How to use Bundler in a single-file Ruby script
- How to deploy bundled applications
Gem Development
Publishing & Security
- Trusted Publishing
- Setting up multi-factor authentication
- Using multi-factor authentication in command line
- MFA requirement opt in
- Managing owners using UI
- Organizations
- Removing a Published gem
- Security Practices
Integrations
- How to use Bundler with Rails
- How to use Bundler with Sinatra
- How to use Bundler with Docker
- How to use Bundler with RubyMotion
Hosting & Sources
Extending
Troubleshooting
- How to troubleshoot RubyGems and Bundler TLS/SSL Issues
- SSL Certificate Update
- How to use git bisect with Bundler
Concepts
Reference
- gem Command Reference
- Bundler Command Reference
- Gemfile Reference
- Ruby Directive
- Specification Reference
- RubyGems.org API
- RubyGems.org API V2.0
- RubyGems.org Compact Index API
- RubyGems.org rate limits
- API key scopes
- Bundler compatibility with Ruby
- Known Bundler Plugins
Appendix
bundle console
This reference was automatically generated from Bundler version 4.0.17.
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) 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)>