简体   繁体   中英

Ruby: gems to manage config files

I'd like to create a dot file to hold the configuration for an app I've created.

I've seen this https://github.com/mattdbridges/dotify which is no longer maintained and this https://github.com/GRoguelon/DotConfig which appears to still be in alpha.

It seems I'd be best off managing this manually (ie writing the code myself).

Any better suggestions?

如果可能的话,我建议使用YAML( http://www.yaml.org/YAML_for_ruby.html )来写入,加载和读取配置文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM