No subject

Groxot's Avatar

Groxot

13 Dec, 2012 06:39 AM

Help plz.
Problem:

c:\Ruby\DevKit>gem install bundler --http-proxy http://****:***@****
 --debug -V
Exception `NameError' at C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/command_manag
er.rb:177 - uninitialized constant Gem::Commands::InstallCommand
GET http://rubygems.org/latest_specs.4.8.gz
Exception `Errno::EWOULDBLOCK' at C:/Ruby/lib/ruby/1.9.1/net/protocol.rb:141 - A
 non-blocking socket operation could not be completed immediately. - read would
block
404 Not Found
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.9.1/r
ubygems/remote_fetcher.rb:222 - bad response Not Found 404 (http://rubygems.org/
latest_specs.4.8.gz)
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.9.1/r
ubygems/remote_fetcher.rb:242 - bad response Not Found 404 (http://rubygems.org/
latest_specs.4.8.gz)
Error fetching remote data:             bad response Not Found 404 (http://rubyg
ems.org/latest_specs.4.8.gz)
Falling back to local-only install
Exception `Gem::GemNotFoundException' at C:/Ruby/lib/ruby/site_ruby/1.9.1/rubyge
ms/dependency_installer.rb:237 - Could not find a valid gem 'bundler' (>= 0) loc
ally or in a repository
ERROR:  Could not find a valid gem 'bundler' (>= 0) in any repository
GET http://rubygems.org/latest_specs.4.8.gz
Exception `Errno::EWOULDBLOCK' at C:/Ruby/lib/ruby/1.9.1/net/protocol.rb:141 - A
 non-blocking socket operation could not be completed immediately. - read would
block
404 Not Found
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.9.1/r
ubygems/remote_fetcher.rb:222 - bad response Not Found 404 (http://rubygems.org/
latest_specs.4.8.gz)
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.9.1/r
ubygems/remote_fetcher.rb:242 - bad response Not Found 404 (http://rubygems.org/
latest_specs.4.8.gz)
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    bad response Not Found 404 (http://rubygems.org/latest_specs.4.8.gz)
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:222:in `fetc
h_http'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:238:in `fetc
h_path'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:269:in `load_s
pecs'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:231:in `block
in list'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `each'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `list'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:189:in `sugges
t_gems_from_name'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:160:in `show_lookup
_failure'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:13
2:in `rescue in block in execute'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:11
6:in `block in execute'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:11
5:in `each'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:11
5:in `execute'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in `invoke'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in `pro
cess_args'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in `run
'
        C:/Ruby/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
        C:/Ruby/bin/gem:30:in `'
  1. Support Staff 1 Posted by Nick Quaranto on 19 Dec, 2012 01:35 AM

    Nick Quaranto's Avatar

    Looks like you have an HTTP proxy or firewall blocking requests.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac