postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.89k stars 250 forks source link

What about changing `src_dir` to `~/.local/ruby-install/`? #437

Closed ioquatix closed 1 year ago

ioquatix commented 1 year ago

https://github.com/postmodern/ruby-install/blob/7abd329bff29f2bf5a4fa5563bd61b8976bb1cac/share/ruby-install/ruby-install.sh#L20

It's a recommended place for local application files.

postmodern commented 1 year ago

In the 1.0.0 branch I started changing the directory constants to use XDG directories:

However, I am slightly nervous about switching to XDG directories because macOS users tend not to use XDG, as it's more of a Linux/freedesktop.org standard.

ioquatix commented 1 year ago

This looks great to me.

In my experience, it's acceptable behaviour for macOS, even if the system itself doesn't respect those directories.

ioquatix commented 1 year ago

Looking forward to a 1.0 release :)