We have a git repository with a custom gem. To install it Gemfile has a line:
gem 'my-gem', :git => '[email protected]:my-gem.git'
After installing the gem, it is not shown in RubyMine`s External Libraries.
How to make the gem be shown in External Libraries and code from the gem be autocompleted?
We get this error as well, so it's probably a bug in RubyMine. A workaround is to check out that gem repo and tell bundler to use it. Note that the remote repository will not be used anymore.
bundle config local.my-gem /path/to/my-gem/
bundle install
Then open my-gem by adding it to your existing window in rubymine as explained here. This made forward navigation and code completion work for us.