Gem installation problem on windows

i have installed ruby successfully.
When i am installing any gem then it shows the error
the trace is give as below:-
please give the solution .
Thanks in advance

C:\Documents and Settings\karriren>gem install rhodes --remote --debug
Exception `NameError' at d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
command_manager
.rb:134 - uninitialized constant Gem::Commands::InstallCommand
Exception `URI::InvalidURIError' at d:/Ruby/lib/ruby/1.8/uri/
generic.rb:195 - th
e scheme http does not accept registry part:
username:password@host:port (or bad
hostname?)
ERROR: While executing gem ... (URI::InvalidURIError)
    the scheme http does not accept registry part:
username:password@host:port (
or bad hostname?)
        d:/Ruby/lib/ruby/1.8/uri/generic.rb:195:in `initialize'
        d:/Ruby/lib/ruby/1.8/uri/http.rb:78:in `initialize'
        d:/Ruby/lib/ruby/1.8/uri/common.rb:488:in `new'
        d:/Ruby/lib/ruby/1.8/uri/common.rb:488:in `parse'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
180:in `get_pr
oxy_from_env'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
66:in `initial
ize'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
44:in `new'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
44:in `fetcher
'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:46:in
`initializ
e'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:32:in
`new'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:32:in
`fetcher'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
dependency_installer.rb:96:in `f
ind_gems_with_sources'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
dependency_installer.rb:189:in `
find_spec_by_name_and_version'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
dependency_installer.rb:210:in `
install'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/commands/
install_command.rb:86:i
n `execute'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/commands/
install_command.rb:83:i
n `each'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/commands/
install_command.rb:83:i
n `execute'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
`invoke'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:
105:in `proce
ss_args'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:
75:in `run'
        d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
`run'
        d:/Ruby/bin/gem:24

What version of Ruby have you installed, in particular have you installed
the older Ruby 1-Click installer, or
have you used the RubyInstaller binaries for windows? The version of gems
that ships with the Ruby 1-Click
installer is pointing to the old RubyForge gem repository. I think the
RubyInstaller has been updated to
point to the new repository on gemcutter.org.

If you do
gem source -a http://gemcutter.org
it might point you to the new repo.

<snip>

···

On Thu, Dec 10, 2009 at 4:30 PM, renudevi7@gmail.com <renudevi7@gmail.com>wrote:

i have installed ruby successfully.
When i am installing any gem then it shows the error
the trace is give as below:-
please give the solution .
Thanks in advance

--

can you tell us if you're behind an HTTP proxy?

For the error, looks like, and the URL used by it do not conform a
valid URL schema.

Please paste the output of "SET HTTP_PROXY" so we can take a look to
the value.

···

On Dec 10, 1:28 pm, "renude...@gmail.com" <renude...@gmail.com> wrote:

i have installed ruby successfully.
When i am installing any gem then it shows the error
the trace is give as below:-
please give the solution .
Thanks in advance

C:\Documents and Settings\karriren>gem install rhodes --remote --debug
Exception `NameError' at d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
command_manager
.rb:134 - uninitialized constant Gem::Commands::InstallCommand
Exception `URI::InvalidURIError' at d:/Ruby/lib/ruby/1.8/uri/
generic.rb:195 - th
e scheme http does not accept registry part:
username:password@host:port (or bad
hostname?)
ERROR: While executing gem ... (URI::InvalidURIError)
the scheme http does not accept registry part:
username:password@host:port (
or bad hostname?)
d:/Ruby/lib/ruby/1.8/uri/generic.rb:195:in `initialize'
d:/Ruby/lib/ruby/1.8/uri/http.rb:78:in `initialize'
d:/Ruby/lib/ruby/1.8/uri/common.rb:488:in `new'
d:/Ruby/lib/ruby/1.8/uri/common.rb:488:in `parse'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
180:in `get_pr
oxy_from_env'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
66:in `initial
ize'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
44:in `new'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:
44:in `fetcher
'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:46:in
`initializ
e'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:32:in
`new'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:32:in
`fetcher'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
dependency_installer.rb:96:in `f
ind_gems_with_sources'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
dependency_installer.rb:189:in `
find_spec_by_name_and_version'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/
dependency_installer.rb:210:in `
install'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/commands/
install_command.rb:86:i
n `execute'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/commands/
install_command.rb:83:i
n `each'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/commands/
install_command.rb:83:i
n `execute'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
`invoke'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:
105:in `proce
ss_args'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:
75:in `run'
d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
`run'
d:/Ruby/bin/gem:24

--
Luis Lavena