Open tomocrafter opened 4 years ago
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.
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.
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.
Hey, thanks for this plugin. Did you get a workaround for the same? To use it with docker-compose.
@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 :(
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.
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.
Sorry for Japanese screenshot.
oh.... It was windows. But since Macs were not available due to security reasons, I'm sure Windows was too.
Thanks @penguinwokrs. Your solution saved my day!
Below and screenshot in English.
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!