Cannot add remote (docker-compose) Ruby interpreter

Answered

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?

 

8 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

Hi, I have this issue again.

I tried to reset docker to factory defaults but the problem still persists.

It is really frustrating...

You can find a demo of my setup (docker based env + 2 apps) at:
https://gitlab.com/my-passenger-docker

Many thanks,
Mauro

0

Any update on this? 

It is frustrating to pay for something that seems NOT to work.
I also created a demo of my setup in order to help with the debugging procedure, did you try it.

It is painful to develop without Ruby SDK (for autocomplete etc) & debugging.

Many thanks,
Mauro

0

Hello Mauro,

unfortunately at the moment there're no updates. Since you've voted for the corresponding issue (https://youtrack.jetbrains.com/issue/RUBY-21624) you'll receive a notification as soon as there's any change of the issue's state.

0

Hello Olga,
is there any workaround to this? Working without the SDK is painful.

BTW: https://youtrack.jetbrains.com/issue/RUBY-21624 is not the related issue.

Many thanks,
Mauro

2

Please sign in to leave a comment.