Open GabLeRoux opened 6 years ago
I managed to find that module
has it's own Ruby SDK and Gems section in Intellij idea too:
But I'm now getting
Run Configuration Error: Unable to find Rake executable script in SDK 'Remote: ruby-2.2.4-p230'
Related Intellij issue: https://youtrack.jetbrains.com/issue/IDEA-184609
I managed to get passed this issue by deleting Gemfile.loc
then doing bundle install
. I am using rbenv
, so I had to make sure that rbenv
is pointing to the right Ruby version (2.5.1
in my case) AND the corresponding bundler
is installed: gem install bundler
.
I have had some tough days with IntelliJ Ruby plugin (I am using IntelliJ Ultimate), so check my StackOverflow answer here too
With Intellij IDEA 2017.3.2, I am unable to execute code inside docker for any run configuration. It always use my local ruby which is pointless.
Stacktraces are the same for both rails and idea
It looks like it's pointless to have
docker
anddocker-compose
remote integration if it can't run configurations in them. The only thing you get from setting it in Docker with Intellij is to get the IDE completions or I'm doing something wrong 👈This is the execution when using the docker integration in RubyMine:
For example above,
/usr/local/bundle/gems/ruby-debug-ide-0.6.0/bin/rdebug-ide
is actually inside docker.