postmodern / chruby

Changes the current Ruby
MIT License
2.87k stars 190 forks source link

Scripts that override PATH are likely to break auto chruby loaded globally #289

Closed skull-squadron closed 9 years ago

skull-squadron commented 9 years ago

This is the case with FreeBSD because the skeleton files explicitly set the PATH in ~/.profile.

The obvious solutions are:

  1. Load chruby after setting PATH
  2. Set PATH globally once, in exactly one place, well before everything else.