You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an odd setup in a few of my rails projects. Certain commands like rails, bundle, rubocop etc have thin wrappers that execute them inside of an active docker image instead of directly on the host.
I want to run solargraph within the docker image too and even though communication works fine over solargraph stdio, I am experiencing a problem where files aren't found because the path to the files inside of the docker image are different from outside.
I could rectify this with a symlink inside of the docker, but I was wondering whether there is any facility to do remapping at the level of solargraph?
So for example outside of docker
/home/user/projects/system/app/models/booking.rb
And within docker
/app/app/models/booking.rb
I use neovim with it's LSP implementation, but I didn't find any documentation on mapping file paths.
The text was updated successfully, but these errors were encountered:
I have an odd setup in a few of my rails projects. Certain commands like
rails
,bundle
,rubocop
etc have thin wrappers that execute them inside of an active docker image instead of directly on the host.I want to run
solargraph
within the docker image too and even though communication works fine oversolargraph stdio
, I am experiencing a problem where files aren't found because the path to the files inside of the docker image are different from outside.I could rectify this with a symlink inside of the docker, but I was wondering whether there is any facility to do remapping at the level of
solargraph
?So for example outside of docker
And within docker
I use
neovim
with it's LSP implementation, but I didn't find any documentation on mapping file paths.The text was updated successfully, but these errors were encountered: