From: Andrew Skegg Date: 2007-01-19T11:09:34+09:00 Subject: Re: RubyGems 0.9.1 Hi, I seem to be having some trouble with thre "-p" or "--http-proxy" option for installing/updating gems. Mac OSX (Intel) ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.8.1] gem 0.9.1 *** LOCAL GEMS *** gem_plugin (0.2.1) A plugin system based only on rubygems that uses dependencies only rubygems-update (0.9.1) RubyGems Update GEM sources (0.0.1) This package provides download sources for remote gem installation Try to install/update gems: gem install rails ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) No route to host - connect(2)(Errno::EHOSTUNREACH) That's OK - I am behind a firewall & proxy, so: gem install rails -p http://192.168.1.31:3128 ERROR: While executing gem ... (NoMethodError) undefined method `[]=' for # gem install rails --http-proxy http://192.168.1.31:3128 ERROR: While executing gem ... (NoMethodError) undefined method `[]=' for # Hmmm..... Any ideas? -- Posted via http://www.ruby-forum.com/.