IntelliJ IDEA 2018.1 Help

Resolving References to Missing Gems

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 the appropriate action.

    Click the hyperlink in the balloon:

    ij missingGemsBannerBundler
  • 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:

    ruby missingGemsBanner

The bundler starts in a separate pop-up window:

rm run bundler
Last modified: 24 July 2018

See Also

Language and Framework-Specific Guidelines: