Closed richjdsmith closed 6 years ago
Running $solargraph -v
on the VSCode integrated shell results in 0.28.4
Tried to add the result from which solargraph
to my solargraph.commandPath
as /Users/richsmith/.rvm/gems/ruby-2.5.1/bin/solargraph
Closed and reponed VScode, result is now a simple error message of Failed to start Solargraph:
with an empty result
Checked developer tools. Turns out Fish Shell breaks everything ruby related 😕
Not this plugins fault or issue. Closing this issue as it is not relevant.
Just wanted to say, in case anyone else wants to start playing with ruby but does NOT want to give up their precious fish shell 😍, my solution was:
(I'm on a Mac)
chsh -s /bin/bash
which fish
))which fish
)Logout and log back in, and it should all work!
P.S. I believe there's a command you can use to get stuff working without a logout/restart, but I can't remember it. :^)
Using VSCode Version 1.29, on macOS 10.12.6 and have Solargraph listed in Gem List (
solargraph (0.28.4, 0.28.3, 0.28.2, 0.28.1, 0.28.0, 0.26.1, 0.24.1, 0.23.5, 0.23.3, 0.23.2, 0.22.0)
)The only thing that changed is I installed the Fish Shell yesterday.