-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I use Rubymine, and in order to use a docker image as a remote interpreter, it opens a container and runs the command jgem list
to determine what gems are included. Because gems that are installed using bundler are in a different location, they are not included. This wouldn't be a huge deal, except for the fact that Rspec isn't include as a default gem (see #64 ). I have rspec in my Gemfile, but the IDE still can't see it. I have to specifically add jgem install rspec
to the Dockerfile to get it to work.
Is there a reason that BUNDLE_PATH needs to be set to a separate location? The default bundler behavior if this isn't set is to use the rubygems path, and to but the executables in the jruby installation path. This works great for most installations I've had in the past.
Note I have also created a ticket for Rubymine to search the BUNDLE_PATH location for gems as well. https://youtrack.jetbrains.com/issue/RUBY-26392