Samer Buna Samer Buna - 11 months ago 77
Ruby Question

How to trace and check dependencies in bundled Ruby gems

Bundler will automatically install any dependencies for the specified gems, however it doesn't output which dependencies map to which gems in the standard output. That information is useful when one of the dependencies fails the installation.

Is there a way to set Bundler to be more verbose and inform about the dependencies while installing?

I am using Bundler 1.0.2


To see a visual representation of the dependency tree run bundle viz:

apt-get install graphviz && gem install ruby-graphviz && bundle viz

It will generate a PNG file of the tree.