This adds OS.app_config_path(name), which you can use to create a directory to store your app's config files in. I started by writing a gem for this, then realized it's probably better in something like this gem.
Tested on Linux, but not yet tested on OSX or Windows. There's no tests for windows yet because I'm not sure what the variables would look like. It would be lovely if someone tested it over on those platforms.
This adds OS.app_config_path(name), which you can use to create a directory to store your app's config files in. I started by writing a gem for this, then realized it's probably better in something like this gem.
It's basically a port of the logic of application-config-path from NodeJS to ruby: https://github.com/LinusU/node-application-config-path
I think it's related to #23.
Tested on Linux, but not yet tested on OSX or Windows. There's no tests for windows yet because I'm not sure what the variables would look like. It would be lovely if someone tested it over on those platforms.