This feature is supported in Ultimate edition only.

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

IntelliJ IDEA detects unsatisfied dependencies in the following cases, and helps resolve them:

  • In the Gemfile for the whole project.
  • In a particular file. IntelliJ IDEA recognizes unsatisfied dependencies in the absence of Gemfile only.
To resolve unsatisfied gem dependencies, do one of the following
  • If IntelliJ IDEA detects unsatisfied dependencies, it displays the notification balloon, suggesting you an appropriate action.

    Click the hyperlink in the balloon:

    ../../Shared/ij_missingGemsBannerBundler.png

  • If in course of editing a Ruby file, IntelliJ IDEA detects that some of the required gems are missing, it displays an intention action Install missing gem using 'bundler' gem.

    Choose the suggested intention action:

    ../../Shared/ruby_missingGemsBanner.png

See Also

Language and Framework-Specific Guidelines: