This feature is supported in the Ultimate edition only.

The following is only valid when Ruby Plugin is installed and enabled!

IntelliJ IDEA makes it possible to visualize gem dependencies, based on the Gemfile information. The gem dependency diagrams are not editable.

If Gemfile is missing, the Show Gem Dependency Diagram/Show Gem Dependency Diagram Popup commands are not available.

To open the Gem Dependency diagram of a project with a Gemfile
  1. Do one of the following:
    • On the context menu of the Project tool window, or the editor, point to Diagrams, and choose Show Diagram or Show Diagram Pop-up.
    • Press ⌥⇧⌘U⌥⇧⌘U⌥⇧⌘U^ ⇧ ⌥ U^ ⇧ ⌥ U, or ⌥⌘U⌥⌘U⌥⌘U^ ⌥ U^ ⌥ U.
  2. From the pop-up menu, choose Gem Dependency Diagram:

In the Gem Dependency diagram, you can perform the following operations

Keeping the key pressed invokes the magnifier tool, which will help you have a closer look at the most interesting or problematic areas of your Model dependency diagram.

Magnifier tool

See Also

Reference:

Language and Framework-Specific Guidelines: