postmodern / chruby

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

RUBIES -> chruby_detect_all_rubies #374

Closed skull-squadron closed 1 year ago

skull-squadron commented 7 years ago

Fix/supercede #278, #291, #314, #316, #318, #320, #345, #350, #363, #364

It's necessary to eliminate RUBIES environment variable to add/remove missing rubies in real-time and to save time. Keeping it around would be just pointless, technical debt tyranny.

postmodern commented 1 year ago

BTW, I eventually switched to your style of logic of re-searching the rubies directories each time. https://github.com/postmodern/chruby/commit/c87f4cfee2f7c431be53fbf10a9be4f75664afdc

skull-squadron commented 1 year ago

No big deal. I've been migrating things to use XDG conventions and work cleanly in contexts of non-root user, system, and vendored activation, similar to Python's virtualenv.

There is greater work to be done in shells and scripting:

postmodern commented 1 year ago

@steakknife I'm super curious about XDG conventions and the shell. While XDG has been embraced by Linux GUI apps, it hasn't really been embraced by shell utils (that I've seen) and macOS users/developers still haven't adopted XDG.