InvalidURIError: can not set user with registry or opaque

Hi,

I’m attempting to install Rails through RubyGems on OS X 10.4.10, but
whenever I use “sudo gem instsll rails --include-dependencies” it gives
me this error:

ERROR: While executing gem … (URI::InvalidURIError)
can not set user with registry or opaque

Can anyone tell me what might be causing this error or how to fix it?
Or if not, if there’s another way for me to get Rails and Mongrel?
Thanks.

Ryan Metcalf wrote:

Hi,

I’m attempting to install Rails through RubyGems on OS X 10.4.10, but
whenever I use “sudo gem instsll rails --include-dependencies” it gives
me this error:

ERROR: While executing gem … (URI::InvalidURIError)
can not set user with registry or opaque

Can anyone tell me what might be causing this error or how to fix it?
Or if not, if there’s another way for me to get Rails and Mongrel?
Thanks.

See:
http://www.ruby-forum.com/topic/100265#new
If you have a proxy setting like bogus.org:911 you need to change it to
http://bogus.org:911