Ralph Grothe wrote: > I've just discovered the gem_server binary > and started this Gem webserver. > Let's see if I will find an answer to my Gems config question there...? Ugh, this doesn't work right away (of course, did I use the real values of our proxy) gem list -r -p http://proxy_user:proxy_passwd / our.proxy.url:proxy_port ERROR: While executing gem ... (NoMethodError) undefined method `[]=' for #<Gem::ConfigFile:0x4039ec90> But at least it does give a hint of some Gem::ConfigFile. Let's see if I can find it # find /usr/local/lib/ruby -name \*ConfigFile\* /usr/local/lib/ruby/gems/1.8/doc/rubygems-0.9.4/ri/Gem/ConfigFile /usr/local/lib/ruby/gems/1.8/doc/rubygems-0.9.4/ri/Gem/ConfigFile/cdesc-ConfigFile.yaml /usr/local/lib/ruby/gems/1.8/doc/rubygems-0.9.4/rdoc/classes/Gem/ConfigFile.src /usr/local/lib/ruby/gems/1.8/doc/rubygems-0.9.4/rdoc/classes/Gem/ConfigFile.html Hm, this rather seems to be some class definition (forgive my blind poking, I am totally new to Ruby) # ri Gem::ConfigFile ------------------------------------------------- Class: Gem::ConfigFile Store the gem command options specified in the configuration file. The config file object acts much like a hash. ------------------------------------------------------------------------ Class methods: -------------- new Instance methods: ----------------- [], config_file_name Attributes: args, backtrace, verbose See if I can call the config_file_name method? Hope it is a getter as well... # ruby -r rubygems -r Gem::ConfigFile -e 'f=Gem::ConfigFile.new;puts f.config_file_name()' ruby: no such file to load -- Gem::ConfigFile (LoadError) Rather seems to be a setter which is expecting some filename to pass? What does the [] try to imply in the Instance methods: section? I would take it as an empty list aka array (in Perl it would be an anonymous array ref). Can one use this thingy somehow as a method call? -- Posted via http://www.ruby-forum.com/.