rbenv gemset support doesn't work correctly

It's great that RubyMine supports rbenv gemset, but it isn't supporting it correctly. Not to put too fine a point on it, RubyMine doesn't understand how rbenv gemset works.

Let's say we have this hierarchy

  • outer
  • -> inner
  • ----> inmost

And suppose my project folder is inmost, and my _.rbenv-gemsets_ file is in outer.

That is legal and correct and is how you use rbenv gemset. It looks up the hierarchy from where we are, until it comes to an _.rbenv-gemsets_ file, and uses that to dictate what gemsets are currently active.

But RubyMine is not doing that; it is looking only the project folder itself. Thus it doesn't see any gems.

Now granted, I can fix that manually thru the preferences. But I shouldn't have to. The whole point of this arrangement is to be automatic. Thanks for listening.

 

0

Hello Matt,

at the moment RubyMine doesn't support that workflow so could you please submit your request directly as a feature one on our tracker: https://youtrack.jetbrains.com/issues/RUBY

0

请先登录再写评论。