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

Dispatch commandPath to a docker-container #57

Open
waiting-for-dev opened this issue Mar 15, 2021 · 2 comments
Open

Dispatch commandPath to a docker-container #57

waiting-for-dev opened this issue Mar 15, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@waiting-for-dev
Copy link

First of all, thanks for maintaining this integration of solargraph with vim ❤️

I'm trying to dispatch solargraph command to a docker container, but it seems not to be possible:

"solargraph.commandPath": "docker-compose exec app bundle exec solargraph",
"solargraph.useBundler": false

I do have solargraph in the Gemfile and the command docker-compose exec app bundle exec solargraph works without problems in the console.

Thanks for any help.

@chemzqm
Copy link
Member

chemzqm commented Mar 15, 2021

I don't think that could work since solargraph in your docker can't read your files.

@chemzqm chemzqm added the help wanted Extra attention is needed label Mar 15, 2021
@waiting-for-dev
Copy link
Author

Thanks for your answer.

It should be possible, as the files are accessible through a shared volume. They are accessible from the command line.

It seems more a problem about how the executable is resolved, as coc.nvim doesn't seem to recognize it and it prompts me to install the solargraph gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants