BUNDLE-CONSOLE(1)
π BUNDLE-CONSOLE(1)
okay bestie, welcome to the bundle-console page from the General Commands Manual β yes that's the one, the Bundler-family manual β¨
π NAME
bundle-console β open an IRB session with the bundle pre-loaded, no cap π«Ά
β¨ SYNOPSIS
bundle console [GROUP]
π DESCRIPTION
So what this does is: it starts up an interactive Ruby console session, but likeβ¦ in the context of your current bundle. Your gems are already there. It's giving main character energy for your Gemfile, fr fr πΈ
If you don't pass a GROUP at all, then every gem chilling in the default group in Gemfile(5) gets preliminarily loaded. That's it. That's the whole deal β¨
(Gemfile(5) lives over at https://bundler.io/man/gemfile.5.html if you wanna go read it, iykyk.)
Now, if you do pass a GROUP, then it loads all the gems in that group plus the gems in the default group. Both. Together. Slay π
and here's the chaotic bit β even if the group you named doesn't actually exist in your Gemfile, the IRB console justβ¦ starts. No warning. No error. Nothing. It does not care. π
You can change which shell it uses with the environment variable BUNDLE_CONSOLE, or with bundle config set console. The options are:
irbβ the default, the classic, the icon πpryβhttps://github.com/pry/pryriplβhttps://github.com/cldwalker/ripl
So like, bundle console uses irb by default, but you can absolutely swap in Pry or Ripl with bundle console by adjusting the console Bundler setting. π¦
β οΈ also make sure thatpryorriplis actually in your Gemfile, bestie. Otherwise things get awkward π
π₯ EXAMPLE
$ bundle config set console pry
$ bundle console
Resolving dependencies...
[1] pry(main)>
look at that prompt. pry(main). iconic. π
π§ SEE ALSO
Gemfile(5) β https://bundler.io/man/gemfile.5.html β
and that's the whole page, bestie π this one's from the General Commands Manual, dated April 2026 β go forth and console, you absolute legend ππ«Ά
π¦ where this page comes from
- centos-stream 10: ruby4.0 4.0.6-37.el10 Β· (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND LicenseRef-Fedora-Public-Domain AND MIT AND CC0-1.0 AND zlib AND Unicode-DFS-2015 AND HPND-Markus-Kuhn AND Ruby-pty AND (Ruby OR BSD-2-Clause OR Python-2.0.1) AND BSD-2-Clause AND (Apache-2.0 OR BSL-1.0) AND GPL-2.0-only AND CC-BY-2.5 AND OFL-1.1-RFN AND BSL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms