BUNDLE-VIZ(1)

πŸ“¦
version 2.6.9 Β· 6 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, debian trixie, fedora 43, ubuntu questing, ubuntu resolute

πŸ’– BUNDLE-VIZ πŸ’–

okay bestie, so you know how I'm literally always right about Unix? yeah. this is bundle-viz from the General Commands Manual section, and it's about to give your Gemfile a whole ✨glow up✨


✨ NAME ✨

bundle-viz β€” bestie, this literally Generates a visual dependency graph for your Gemfile. like it makes your gems into a picture. iconic behavior fr fr 🌸


πŸŽ€ SYNOPSIS πŸŽ€

bundle viz [--file=FILE] [--format=FORMAT] [--requirements] [--version]
[--without=GROUP GROUP]

that's the whole vibe check right there. memorize it, iykyk πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so viz generates a PNG file of the current Gemfile(5) as a dependency graph. that's the main character move. no cap.

ngl though, viz requires the ruby-graphviz gem (and its dependencies). like it cannot function without it, it's giving "needs its emotional support gem" 😭

and the associated gems must also be installed via bundle install(1) bundle-install.1.html. both things. you need both. don't skip steps bestie 🫢

πŸ’€ okay real talk: the viz command was deprecated in Bundler 2.2. Use the bundler-graph plugin https://github.com/rubygems/bundler-graph instead. i know, i know, our fave got cancelled. but the plugin is right there and it's slaying.

πŸ’… OPTIONS πŸ’…

  • --file=FILE, -f=FILE β€” The name to use for the generated file. See the --format option. like, what are we calling this masterpiece 🎨
  • --format=FORMAT, -F=FORMAT β€” This is output format option. Supported format is png, jpg, svg, dot ... yeah that's the lineup, pick your fighter ⭐
  • --requirements, -R β€” Set to show the version of each required dependency. receipts included, periodt πŸ“‹
  • --version, -v β€” Set to show each gem version. every single gem gets its moment, we don't do anonymous here πŸ‘‘
  • --without=<list>, -W=<list> β€” Exclude gems that are part of the specified named group. some gems just don't get an invite to the party, and that's okay πŸ™ˆ

and that's the whole page bestie!! 🌈

March 2025 β€” BUNDLE-VIZ(1) β€” General Commands Manual πŸ’– mwah, go make a graph, ily 🫢✨

πŸ“¦ where this page comes from