BUNDLE-CONSOLE(1)
π bundle-console β bestie edition β¨
okay so this is a page from the General Commands Manual, and it's all about bundle-console, iykyk π«Ά
πΈ NAME πΈ
bundle-console β open an IRB session with the bundle pre-loaded π
β¨ SYNOPSIS β¨
bundle console [GROUP]
π DESCRIPTION π
So basically, bundle console starts up an interactive Ruby console session right in the context of whatever bundle you're currently chilling in. main character energy fr.
Now, here's the tea on GROUP β:
- If you don't specify a
GROUP, then all the gems in the default group in theGemfile(5)(https://guides.rubygems.org/gemfile/) get preliminarily loaded. all of them. no cap. - If you do specify a
GROUP, then all the gems in that given group get loaded, in addition to the gems in the default group. and here's the wild part: even if the group you named doesn't exist in theGemfileat all, the IRB console still starts, with no warning and no error. literally just vibes. π
You can switch up which shell it uses with either the environment variable BUNDLE_CONSOLE or bundle config set console. The options from the following list are:
irb(the default π)pry(https://github.com/pry/pry)ripl(https://github.com/cldwalker/ripl)
bundle console uses irb by default. But bestie, you can absolutely use an alternative like Pry or Ripl with bundle console by adjusting the console Bundler setting. Also!! make sure that pry or ripl is actually in your Gemfile, otherwise it's giving nothing. π
π EXAMPLE π
$ bundle config set console pry
$ bundle console
Resolving dependencies...
[1] pry(main)>
look at that. iconic. π₯
π SEE ALSO π
and that's the whole page, bestie π¦ this gem of a doc is from April 2026, and it's BUNDLE-CONSOLE(1) β go forth and console, periodt. π
β¨
π¦ where this page comes from
- fedora 44: rubygem-bundler 4.0.20-39.fc44
- fedora 44: rubygem-bundler 4.0.20-40.fc44 Β· MIT AND (Ruby OR BSD-2-Clause)
- ubuntu stonking: ruby-bundler 4.0.18-1 Β· MIT OR Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms