title: Config information for a gem
body: <p>I am working on a gem that needs to be configured with a hostname, username, and password. I would prefer to store this configuration information in config/directoryservices.yml</p>
  
  <p>How do I make my gem automatically create this file when installed?</p>
  
  <p>I've seen a lot of places say that config information should be passed as hashes with gems. The main use of this gem will be in an app that is installed on ~15 servers. Each server will need different config information.</p>
  
  <p>If it is better to include the YAML code in the app and then pass the data as a hash to the gem, I can do that, but I would still like pointers on the best way to do that.</p>
  
  <p>An example of a gem that uses this kind of config is activeldap</p>