Extracting configuration into a gem