according to http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.
rbenv is one of the most popular tools on Linux - it would be awesome if you guys could comply with the spec.
How do you expect rbenv to comply with the XDG spec?
@sandys rbenv can be installed anywhere. Simply export RBENV_ROOT accordingly.
Though, personally, I don't think rbenv belongs under XDG_CONFIG_HOME. rbenv is an app, not a configuration file. I set RBENV_ROOT=/usr/local/var/rbenv
Agreed. Since ~/.rbenv folder is mostly not configuration files (with exception of ~/.rbenv/version global version file), I would say this doesn't fall under what XDG_CONFIG_HOME is supposed to be used. Closing until someone can argue otherwise.
Since ~/.rbenv folder is mostly not configuration files (with exception of ~/.rbenv/version global version file), I would say this doesn't fall under what XDG_CONFIG_HOME is supposed to be used.
It seems like they're mostly data files? $XDG_DATA_HOME exists for that.
Most helpful comment
It seems like they're mostly data files?
$XDG_DATA_HOMEexists for that.