RubyMine not showing gem installed from Github with bundler

444 Views Asked by At

RubyMine 7 isn't showing a gem installed from Github with bundler. For example:

  • gem 'spree', '3.0.4' - no conflict, all works
  • gem 'spree', github: 'spree/spree', branch: '~> 3.1.0.beta' - not available in "Ruby SDK and Gems"

I've tried adding a path to .rvm/env/myenv:

export GEM_PATH='/home/deface/.rvm/gems/ruby-2.2.2:/home/deface/.rvm/gems/ruby-2.2.2@global:/home/deface/.rvm/gems/ruby-2.2.2/bundler/gems

If I click Tools -> Show env,

SDK Gem paths:

 ~/.rvm/gems/ruby-2.2.2/bundler/gems
 ~/.rvm/gems/ruby-2.2.2/gems
 ~/.rvm/gems/ruby-2.2.2@global/gems

What's the problem? Why does the IDE not see the gems?

0

There are 0 best solutions below