Got error when running on Windows 11 WSL in docker container #1784
Labels
bug
Something isn't working
help-wanted
Extra attention is needed
pinned
This issue or pull request is pinned and won't be marked as stale
Uh oh!
There was an error while loading. Please reload this page.
Ruby version
3.1.3
Code snippet
No response
Description
I use Windows 11 with WSL version 2 enabled and Ubuntu 22.04 distro installed. Also Docker Desktop installed to enable docker support. My ruby app source code located at Ubuntu filesystem and runs in docker container. When I install and enable Ruby LSP extension on 'WSL: Ubuntu' in vscode I see this error:
Also I tried to add
gem "ruby-lsp"
to myGemfile
rundocker compose exec web bundle
and restart vscode but that didn't help (same error).Here is my
Dockerfile
:and
docker-compose.yml
:Any help is much appreciated. Thanks in advance!
Expected output
Expect ruby-lsp to start without any errors
The text was updated successfully, but these errors were encountered: