# File lib/gem_plugin.rb, line 229 def config(gem_name, options={}) config_file = Manager.instance.resource(gem_name, "/defaults.yaml") if config_file begin defaults = YAML.load_file(config_file) return defaults.merge(options) rescue raise "Error loading config #{config_file} for gem #{gem_name}" end else return options end end