postmodern / chruby

Changes the current Ruby
MIT License
2.88k stars 189 forks source link

Wrong $PATH in Nova Editor process #485

Open tommasongr opened 1 year ago

tommasongr commented 1 year ago

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.