Skip to content

Instantly share code, notes, and snippets.

Created January 10, 2014 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1376b19269965af5ea06 to your computer and use it in GitHub Desktop.
Save anonymous/1376b19269965af5ea06 to your computer and use it in GitHub Desktop.
error while updating ruby gems
C:\Users\Suma.Bhat.RMED0058LT>gem update --system 1.8.29 --debug
Exception `NameError' at C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/command_ma
nager.rb:177 - uninitialized constant Gem::Commands::UpdateCommand
Exception `Errno::EMFILE' at C:/Ruby193/lib/ruby/1.9.1/net/http.rb:762 - Too man
y open files - socket(2)
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby193/lib/ruby/site_ruby/1.9.
1/rubygems/remote_fetcher.rb:246 - Errno::EMFILE: Too many open files - socket(2
) (http://rubygems.org/latest_specs.4.8.gz)
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::EMFILE: Too many open files - socket(2) (http://rubygems.org/latest_s
pecs.4.8.gz)
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:246:in `r
escue in fetch_path'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:232:in `f
etch_path'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:269:in `loa
d_specs'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:231:in `blo
ck in list'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `eac
h'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `lis
t'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:150:in `fin
d_matching_with_errors'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:177:in `fin
d_matching'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:
210:in `block in which_to_update'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:
203:in `each'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:
203:in `which_to_update'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:
158:in `update_rubygems'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:
61:in `execute'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in `invoke'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in `
process_args'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in `
run'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
C:/Ruby193/bin/gem:30:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment