Forum: Ruby Error when specifying proxy

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
80b1b9758e76568747b2c50bcb911201?d=identicon&s=25 Behrang Saeedzadeh (Guest)
on 2007-03-06 18:21
(Received via mailing list)
Hi,

When I set the HTTP_PROXY env var to
user:pass@http://proxy.monash.edu.au:8080 and run gem to install
Rials, I get the following error:

  C:\Documents and Settings\Behrang>gem install rails --remote
  ERROR:  While executing gem ... (URI::InvalidURIError)
    can not set user with registry or opaque

Any ideas what is probably causing the error and how can I fix it?
(The environment is Win XP)

Regards,
Behi

--
"Science is a differential equation. Religion is a boundary condition"
- Alan Turing

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa
428f96cc689eb7419bba3a8bbfcc222a?d=identicon&s=25 Stefan Mahlitz (Guest)
on 2007-03-06 18:45
(Received via mailing list)
Behrang Saeedzadeh wrote:
> Any ideas what is probably causing the error and how can I fix it?
> (The environment is Win XP)

It should be

http://user:pass@proxy.monash.edu.au:8080

if I remember correctly

You can also set this up in your .gemrc-file
This topic is locked and can not be replied to.