Cannot add remote (docker-compose) Ruby interpreter

Hi,
I have a multi-application development environment based on passenger-docker.

I'm currently using RubyMine 2018.1.1 and I cannot add remote (docker-compose) Ruby interpreter.
The problem is the ruby interpreter path!

Can't create Ruby SDK
Can't find ruby by provided interpreter path

I tried with the following values, but it doesn't work:

  • /usr/local/rvm/rubies/default/bin/ruby
  • /usr/local/rvm/rubies/ruby-2.5.1/bin/ruby
  • /usr/local/rvm/gems/ruby-2.5.1
  • /usr/local/rvm/gems/ruby-2.5.1@global

It worked with RubyMine 2017.3 serie and the bold value.

Any idea?

 

4 comments

Can you please explain me how RubyMine behaves when trying to download remote SDK. What are the requirements? Which variables must be set? If I know how it works, then I can try to find a workaround. 

I recently renewed my subscription (own founds) even if there are a few issues with my setup.

Please help me.

Many thanks,
Mauro 

0

Hello Mauro,

sorry for the delay. Could you please check how it goes in the last 2018.1.2 RC and after readding Docker configuration (Settings Build, Execution, Deployment | Docker). In case the problem persists would it be possible to provide a sample app for reproduce (you can send me it to rubymine-support@jetbrains.com)

0

Hi Olga,
removing all volumes and rebuilding everything seems to have fixed the problem.

I created a git repo with a development environment based on passenger-docker and other two git repo with sample applications. 

I'll send you an email so that you can help me with https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000216904-Passenger-Docker-multi-app-dev-environment-how-to-setup-debug-

Many thanks,
Mauro

0

Please sign in to leave a comment.