Can't bundle gems or install debugger gem on RubyGems 2.6.8

After upgrading RubyGems to 2.6.8 RubyMine can't seem to be able to work with gems anymore: I can't install bundler or the debugger gem, etc. Downgrading to something like 2.4.0 (just a random older version that I found to work) and cleaning up all RubyMine application data was required to make it work again.

I'm on OSX and RM 8.0.4 and use rvm. Is my RM version too old for new RubyGems?

0
5 comments

Hello,

could you please check how it goes in case you try to install those gems manually from the Terminal (like 'bundler' for example).

0
Avatar
Permanently deleted user

Installing gems through bundler or gem in terminal works perfectly - my bad for not mentioning that. But even if I install the debugger gem in terminal, RubyMine will insist it's not installed.

0

just in case, would it be possible to check how it goes in 2017.1 EAP? In addition, does it happen to other Ruby SDKs?

0
Avatar
Permanently deleted user

Seems like the issue is indeed resolved in 2017.1 EAP.

To get a clean slate, I installed Ruby 2.3.2 via rvm (came with Rubygems 2.6.10), created a new project in 2017.1 EAP, added some gems in Gemfile, and let RM EAP discover that there are missing gems and install them, which succeeded. I also tried the debugger which also worked.

Just to make sure, I opened the very same project in my old RM 8 and attemped to run it: I get the error "Cannot find Bundler in RVM".

0

There was a similar issue (https://youtrack.jetbrains.com/issue/RUBY-17852), which most likely caused your problem in RubyMine 8. 

0

Please sign in to leave a comment.