# File lib/rhc/config.rb, line 119 def self.set_local_config(confpath, must_exist=true) begin @@local_config_path = File.expand_path(confpath) @@config_path = @@local_config_path if @@opts_config_path.nil? @@local_config = RHC::Vendor::ParseConfig.new(@@local_config_path) rescue Errno::EACCES => e if must_exist raise Errno::EACCES.new "Could not open config file: #{e.message}" end end end