Skip to content

rubyLsp.rubyExecutablePath not working #3064

Closed Answered by quackerex
quackerex asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you.
In my case it was already in the PATH. However it was in the end, so it wasn't overriding /usr/bin/ruby

Changing

export PATH=$PATH:/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.3.0/bin

to

export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.3.0/bin:$PATH

in my .zprofile fixed the issue

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@quackerex
Comment options

Answer selected by quackerex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants