postmodern/chruby

Wrong $PATH in Nova Editor process

tommasongr opened this issue · 0 comments

Hi there!

I'm the curator of some Ruby extension for Nova editor. I'm currently experiencing an issue with the $PATH fetched from the editor. It seems like chruby doesn't update $PATH in the processes spawned by the editor.

I tried to fetch $PATH from the integrated terminal and from a couple of internal processes. Unfortunately, as you can see in the picture, they are different.

CleanShot 2022-12-30 at 16 36 16@2x

Any idea of why this is happening? Thanks!

P:S: By the way I'm also using chnode (which is clearly inspired by chruby) and that set the $PATH correctly.