Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load routes with docker. #43

Open
tomocrafter opened this issue Apr 11, 2020 · 9 comments
Open

Failed to load routes with docker. #43

tomocrafter opened this issue Apr 11, 2020 · 9 comments

Comments

@tomocrafter
Copy link

Does this plugin support docker-compose?
It says "Failed to load routes" and error details is "/usr/local/bin/ruby: No such file or directory -- C:UsersrootDocumentsgithubprojectnamebinrake (LoadError)". seems like there is no separate between directory like / (anyways I'm currently using windows so maybe it lost \ somewhere).

If someone has solution to make it work on docker-compose environment, please let me know!

@basgren
Copy link
Owner

basgren commented Apr 14, 2020

Hi!
Unfortunately I didn't check the plugin with docker and actually I don't generate path to rake task at all, I just use IDE's API to call it and get the output. Possibly this is an issue with IDE.

@tomocrafter
Copy link
Author

I'd like to report it to jetbrains but I'm not familiar with the Jetbrains IDE's API, so I don't know what to report.

@basgren
Copy link
Owner

basgren commented Apr 20, 2020

I'm sorry, but for me it's also unclear what's wrong. I'll do my best to take a look at this issue this week.

@saberprashant
Copy link

Hey, thanks for this plugin.
Did you get a workaround for the same? To use it with docker-compose.

@ddnexus
Copy link

ddnexus commented Oct 5, 2020

@basgren I am not sure the IDE API will give you the connection with a docker-compose SDK. The server and console run configurations have 3 options to interact with a docker-compose SDK, but they are set in the configuration itself. Your plugin is probably supposed to do the same, but I don't know how it is supposed to actually use that internally.

I was using docker through SSH remote SDK (installing a sshd server inside the rails container) because RM docker-compose setup was painful at best. Now the latest 2020.3 EAP gives more optiona for the connection (see above) and it is smooth enough to use, so I ditched all the ssh workaround and use docker-composer SDK directly. The only big setback is that your plugin doesn't work anymore in all my projects :(

@basgren
Copy link
Owner

basgren commented Oct 20, 2020

Thanks for letting me know. Finally I have some time to dive into it. Will let you know when I fix this. Seems the plugin is incompatible with new RubyMine version.

@penguinwokrs
Copy link

hi, guys!

I found a way to use docker to run Railways.
I made some changes in mac security and privacy and it worked.

I used rubymine ver 2021.1

Activate the Terminal.
image

Sorry for Japanese screenshot.

@penguinwokrs
Copy link

oh....
It was windows.
But since Macs were not available due to security reasons, I'm sure Windows was too.

@hernanvicente
Copy link

Thanks @penguinwokrs. Your solution saved my day!

Below and screenshot in English.

settings_security_and_privacy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants