Closed pablox-cl closed 5 years ago
I don't know if it's related, but solargraph it's not picking up the require directives of files in the gemfile.
Version 0.18.0 should fix this issue. It changes how the extension starts Ruby processes under zsh.
I think this is closely related to #12 and #22.
Developers tools shows:
It actually works when
code
is running trough the terminal.It ran fine trough the integrated terminal, and works if I put the full path to
solargraph
(in this case, trough a shim created withrbenv
).So, what is happening is that there's a problem recognizing the
$PATH
variable:It seems that the plugin is starting a new zsh process that it's not reading the dotfiles where the
$PATH
is set (specially in.zshrc
), but it's actually done when starting a new terminal. This is weird, because by default/usr/bin/zsh
setsRCS
andGLOBAL_RCS
options are turned on.How can I continue debugging this issue?