This feature is only supported in the Ultimate edition.

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 Ctrl+Shift+Alt+U, or Ctrl+Alt+U.
  2. From the pop-up menu, choose Gem Dependency Diagram:

Keeping the Alt 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: