Dispatch commandPath to a docker-container
waiting-for-dev opened this issue · comments
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.
I don't think that could work since solargraph in your docker can't read your files.
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.