RubyMine Gem Manager doesn't detect installed gems in [project root]/.bundle
已完成
Hi,
Thanks for useful tool!
RubyMine Gem Manager always says that `RubyMine has detected that some of the gems required for 'project name' are not installed. Install`. I want to stop this message because I have installed required gems in [project root]/.bundle with `bundle install --path .bundle`.
I suppose that the message means RubyMine doesn't detect required gems in the directory used by system gem command (== without bundler). Could you tell me how to stop this message?
Please let me know if you want more detailed information.
请先登录再写评论。
Hello,
could you please specify your RubyMine version? I've created an empty project in RubyMine 2019.1.1, added a Gemfile with several gems and ran Tools - Bundler - Install with `--path .bundle` argument, after that External libraries were updated and there was no highlighting in the Gemfile.
Hi, I experience the same issue. I install gems using bundle with path:
bundle install --path=./.bundle/gems
Here is info regarding RubyMine version I use:
RubyMine 2019.2.3
Build #RM-192.6817.16, built on September 24, 2019
Runtime version: 11.0.4+10-b304.69 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.5
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16
Artur,
could you please check how it goes in RubyMine 2019.3.2 Preview? I didn't manage to reproduce your problem there and gems installed with the same path are shown in External libraries.
I did not check it in 2019.3.2, but I managed to make it work by using path "./.bundle/" in stead of "./.bundle/gems":
So for me it is not an issue anymore.
Thank you!
Thank you for the update, Artur!