I really like this pattern, which I've used a lot before, and I also really like that it's so easy to reimplement in Ruby that there's no point in writing a gem for it. (Though I suppose a basic config gem could do some validations and so on, but that's probably not needed for most uses.)