Where to save a gem config file?

I’m writing a Ruby gem that will need an initial configuration (username, etc…). Where should I save this config file for it to be:

  • portable (various Linux distros / OS X)
  • not requiring sudo
  • not inside the gem directory as the config should persist between gem versions


Source: ruby

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.