Solargraph context: bundle exec
#4034
-
I am trying to get Solargraph up and running for my project but I am stalled at the moment. Solargraphs documentation recommends running it with [[language]]
name = "ruby"
language-server = { command = "bundle exec solargraph", args = ["stdio"] }
config = { solargraph = { diagnostics = true, formatting = true } }
auto-format = true Updating my toml to the above also doesn't work. I am hoping I just have the config args incorrect. Is there a way to make sure the command is running in the cwd and should the command differ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
The command should be only the name of the binary: language-server = { command = "bundle", args = ["exec", "solargraph", "stdio"] } |
Beta Was this translation helpful? Give feedback.
-
@the-mikedavis @williamtstanley is using |
Beta Was this translation helpful? Give feedback.
-
@williamtstanley Are you able to use |
Beta Was this translation helpful? Give feedback.
The command should be only the name of the binary: