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