How to trace and check dependencies in bundled Ruby gems

前端 未结 2 1627
说谎
说谎 2020-12-31 13:25

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 info

2条回答
  •  灰色年华
    2020-12-31 14:04

    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.

提交回复
热议问题