Skip to content

Instantly share code, notes, and snippets.

@gsinclair
Created June 11, 2014 08:22
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 gsinclair/347ac51f0713251efe21 to your computer and use it in GitHub Desktop.
Save gsinclair/347ac51f0713251efe21 to your computer and use it in GitHub Desktop.
Detailed error message when running Rubygems
/usr/lib/ruby/1.9.1/net/http.rb:763: [BUG] rb_sys_fail(connect(2)) - errno == 0
ruby 1.9.3p545 (2014-02-24) [i386-cygwin]
-- Control frame information -----------------------------------------------
c:0037 p:---- s:0223 b:0223 l:000222 d:000222 CFUNC :initialize
c:0036 p:---- s:0221 b:0221 l:000220 d:000220 CFUNC :open
c:0035 p:0029 s:0216 b:0216 l:0023d0 d:000215 BLOCK /usr/lib/ruby/1.9.1/net/http.rb:763
c:0034 p:0031 s:0214 b:0214 l:000213 d:000213 METHOD /usr/lib/ruby/1.9.1/timeout.rb:55
c:0033 p:0026 s:0202 b:0202 l:000201 d:000201 METHOD /usr/lib/ruby/1.9.1/timeout.rb:100
c:0032 p:0038 s:0196 b:0196 l:0023d0 d:0023d0 METHOD /usr/lib/ruby/1.9.1/net/http.rb:763
c:0031 p:0011 s:0188 b:0188 l:000187 d:000187 METHOD /usr/lib/ruby/1.9.1/net/http.rb:756
c:0030 p:0089 s:0185 b:0185 l:000184 d:000184 METHOD /usr/lib/ruby/1.9.1/net/http.rb:751
c:0029 p:0224 s:0182 b:0182 l:000181 d:000181 METHOD /usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:326
c:0028 p:0209 s:0174 b:0174 l:000173 d:000173 METHOD /usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:402
c:0027 p:0060 s:0160 b:0160 l:000159 d:000159 METHOD /usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:205
c:0026 p:0149 s:0150 b:0150 l:000149 d:000149 METHOD /usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:238
c:0025 p:0192 s:0142 b:0142 l:000141 d:000141 METHOD /usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:269
c:0024 p:0058 s:0129 b:0127 l:000118 d:000126 BLOCK /usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:231
c:0023 p:---- s:0124 b:0124 l:000123 d:000123 FINISH
c:0022 p:---- s:0122 b:0122 l:000121 d:000121 CFUNC :each
c:0021 p:0091 s:0119 b:0119 l:000118 d:000118 METHOD /usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:227
c:0020 p:0039 s:0110 b:0110 l:000109 d:000109 METHOD /usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:150
c:0019 p:0031 s:0099 b:0099 l:000098 d:000098 METHOD /usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:89
c:0018 p:0238 s:0089 b:0089 l:000088 d:000088 METHOD /usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:110
c:0017 p:0056 s:0080 b:0080 l:000bcc d:000079 BLOCK /usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:174
c:0016 p:---- s:0076 b:0076 l:000075 d:000075 FINISH
c:0015 p:---- s:0074 b:0074 l:000073 d:000073 CFUNC :each
c:0014 p:0144 s:0071 b:0071 l:000bcc d:000bcc METHOD /usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:171
c:0013 p:0092 s:0062 b:0062 l:000061 d:000061 METHOD /usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:142
c:0012 p:0109 s:0054 b:0054 l:000053 d:000053 METHOD /usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:267
c:0011 p:0119 s:0048 b:0048 l:000037 d:000047 BLOCK /usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:121
c:0010 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0009 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC :each
c:0008 p:0118 s:0038 b:0038 l:000037 d:000037 METHOD /usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:115
c:0007 p:0076 s:0032 b:0032 l:000031 d:000031 METHOD /usr/lib/ruby/1.9.1/rubygems/command.rb:278
c:0006 p:0193 s:0028 b:0028 l:000027 d:000027 METHOD /usr/lib/ruby/1.9.1/rubygems/command_manager.rb:147
c:0005 p:0013 s:0022 b:0022 l:000021 d:000021 METHOD /usr/lib/ruby/1.9.1/rubygems/command_manager.rb:117
c:0004 p:0178 s:0017 b:0017 l:000016 d:000016 METHOD /usr/lib/ruby/1.9.1/rubygems/gem_runner.rb:65
c:0003 p:0164 s:0009 b:0009 l:0023cc d:000e60 EVAL /usr/bin/gem:21
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0023cc d:0023cc TOP
-- Ruby level backtrace information ----------------------------------------
/usr/bin/gem:21:in `<main>'
/usr/lib/ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:117:in `run'
/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:147:in `process_args'
/usr/lib/ruby/1.9.1/rubygems/command.rb:278:in `invoke'
/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:115:in `execute'
/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:115:in `each'
/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:121:in `block in execute'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:267:in `install'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:142:in `gather_dependencies'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:171:in `add_found_dependencies'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:171:in `each'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:174:in `block in add_found_dependencies'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:110:in `find_gems_with_sources'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:89:in `fetch_with_errors'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:150:in `find_matching_with_errors'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `list'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:227:in `each'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:231:in `block in list'
/usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:269:in `load_specs'
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:238:in `fetch_path'
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:205:in `fetch_http'
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:402:in `request'
/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:326:in `connection_for'
/usr/lib/ruby/1.9.1/net/http.rb:751:in `start'
/usr/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
/usr/lib/ruby/1.9.1/net/http.rb:763:in `connect'
/usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
/usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout'
/usr/lib/ruby/1.9.1/net/http.rb:763:in `block in connect'
/usr/lib/ruby/1.9.1/net/http.rb:763:in `open'
/usr/lib/ruby/1.9.1/net/http.rb:763:in `initialize'
-- Other runtime information -----------------------------------------------
* Loaded script: /usr/bin/gem
* Loaded features:
0 enumerator.so
1 /usr/lib/ruby/1.9.1/i386-cygwin/enc/encdb.so
2 /usr/lib/ruby/1.9.1/i386-cygwin/enc/iso_8859_1.so
3 /usr/lib/ruby/1.9.1/i386-cygwin/enc/trans/transdb.so
4 /usr/lib/ruby/1.9.1/rubygems/defaults.rb
5 /usr/lib/ruby/1.9.1/i386-cygwin/rbconfig.rb
6 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb
7 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb
8 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb
9 /usr/lib/ruby/1.9.1/rubygems.rb
10 /usr/lib/ruby/1.9.1/optparse.rb
11 /usr/lib/ruby/1.9.1/rubygems/user_interaction.rb
12 /usr/lib/ruby/1.9.1/rubygems/command.rb
13 /usr/lib/ruby/1.9.1/rubygems/command_manager.rb
14 /usr/lib/ruby/1.9.1/i386-cygwin/etc.so
15 /usr/lib/ruby/1.9.1/rubygems/config_file.rb
16 /usr/lib/ruby/1.9.1/rubygems/doc_manager.rb
17 /usr/lib/ruby/1.9.1/rubygems/version.rb
18 /usr/lib/ruby/1.9.1/rubygems/requirement.rb
19 /usr/lib/ruby/1.9.1/rubygems/platform.rb
20 /usr/lib/ruby/1.9.1/rubygems/specification.rb
21 /usr/lib/ruby/1.9.1/rubygems/path_support.rb
22 /usr/lib/ruby/1.9.1/rubygems/dependency.rb
23 /usr/lib/ruby/1.9.1/rubygems/gem_runner.rb
24 /usr/lib/ruby/1.9.1/psych/syntax_error.rb
25 /usr/lib/ruby/1.9.1/i386-cygwin/psych.so
26 /usr/lib/ruby/1.9.1/i386-cygwin/stringio.so
27 /usr/lib/ruby/1.9.1/psych/nodes/node.rb
28 /usr/lib/ruby/1.9.1/psych/nodes/stream.rb
29 /usr/lib/ruby/1.9.1/psych/nodes/document.rb
30 /usr/lib/ruby/1.9.1/psych/nodes/sequence.rb
31 /usr/lib/ruby/1.9.1/psych/nodes/scalar.rb
32 /usr/lib/ruby/1.9.1/psych/nodes/mapping.rb
33 /usr/lib/ruby/1.9.1/psych/nodes/alias.rb
34 /usr/lib/ruby/1.9.1/psych/nodes.rb
35 /usr/lib/ruby/1.9.1/psych/streaming.rb
36 /usr/lib/ruby/1.9.1/psych/visitors/visitor.rb
37 /usr/lib/ruby/1.9.1/i386-cygwin/strscan.so
38 /usr/lib/ruby/1.9.1/psych/scalar_scanner.rb
39 /usr/lib/ruby/1.9.1/psych/visitors/to_ruby.rb
40 /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb
41 /usr/lib/ruby/1.9.1/psych/visitors/yaml_tree.rb
42 /usr/lib/ruby/1.9.1/psych/json/ruby_events.rb
43 /usr/lib/ruby/1.9.1/psych/visitors/json_tree.rb
44 /usr/lib/ruby/1.9.1/psych/visitors/depth_first.rb
45 /usr/lib/ruby/1.9.1/psych/visitors.rb
46 /usr/lib/ruby/1.9.1/psych/handler.rb
47 /usr/lib/ruby/1.9.1/psych/tree_builder.rb
48 /usr/lib/ruby/1.9.1/psych/parser.rb
49 /usr/lib/ruby/1.9.1/psych/omap.rb
50 /usr/lib/ruby/1.9.1/psych/set.rb
51 /usr/lib/ruby/1.9.1/psych/coder.rb
52 /usr/lib/ruby/1.9.1/psych/core_ext.rb
53 /usr/lib/ruby/1.9.1/i386-cygwin/date_core.so
54 /usr/lib/ruby/1.9.1/date/format.rb
55 /usr/lib/ruby/1.9.1/date.rb
56 /usr/lib/ruby/1.9.1/psych/deprecated.rb
57 /usr/lib/ruby/1.9.1/psych/stream.rb
58 /usr/lib/ruby/1.9.1/psych/json/yaml_events.rb
59 /usr/lib/ruby/1.9.1/psych/json/tree_builder.rb
60 /usr/lib/ruby/1.9.1/psych/json/stream.rb
61 /usr/lib/ruby/1.9.1/psych/handlers/document_stream.rb
62 /usr/lib/ruby/1.9.1/psych.rb
63 /usr/lib/ruby/1.9.1/rubygems/psych_additions.rb
64 /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb
65 /usr/lib/ruby/1.9.1/yaml.rb
66 /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb
67 /usr/lib/ruby/1.9.1/i386-cygwin/enc/utf_16le.so
68 /usr/lib/ruby/1.9.1/i386-cygwin/enc/utf_16be.so
69 /usr/lib/ruby/1.9.1/timeout.rb
70 /usr/lib/ruby/1.9.1/rubygems/install_update_options.rb
71 /usr/lib/ruby/1.9.1/tsort.rb
72 /usr/lib/ruby/1.9.1/rubygems/dependency_list.rb
73 /usr/lib/ruby/1.9.1/rubygems/package/f_sync_dir.rb
74 /usr/lib/ruby/1.9.1/rubygems/package/tar_header.rb
75 /usr/lib/ruby/1.9.1/i386-cygwin/zlib.so
76 /usr/lib/ruby/1.9.1/rubygems/package/tar_input.rb
77 /usr/lib/ruby/1.9.1/rubygems/package/tar_output.rb
78 /usr/lib/ruby/1.9.1/rubygems/package/tar_reader/entry.rb
79 /usr/lib/ruby/1.9.1/rubygems/package/tar_reader.rb
80 /usr/lib/ruby/1.9.1/rubygems/package/tar_writer.rb
81 /usr/lib/ruby/1.9.1/rubygems/package.rb
82 /usr/lib/ruby/1.9.1/rubygems/format.rb
83 /usr/lib/ruby/1.9.1/rubygems/ext/builder.rb
84 /usr/lib/ruby/1.9.1/rubygems/ext/configure_builder.rb
85 /usr/lib/ruby/1.9.1/rubygems/ext/ext_conf_builder.rb
86 /usr/lib/ruby/1.9.1/rubygems/ext/rake_builder.rb
87 /usr/lib/ruby/1.9.1/rubygems/ext.rb
88 /usr/lib/ruby/1.9.1/rubygems/require_paths_builder.rb
89 /usr/lib/ruby/1.9.1/rubygems/installer.rb
90 /usr/lib/ruby/1.9.1/uri/common.rb
91 /usr/lib/ruby/1.9.1/uri/generic.rb
92 /usr/lib/ruby/1.9.1/uri/ftp.rb
93 /usr/lib/ruby/1.9.1/uri/http.rb
94 /usr/lib/ruby/1.9.1/uri/https.rb
95 /usr/lib/ruby/1.9.1/uri/ldap.rb
96 /usr/lib/ruby/1.9.1/uri/ldaps.rb
97 /usr/lib/ruby/1.9.1/uri/mailto.rb
98 /usr/lib/ruby/1.9.1/uri.rb
99 /usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb
100 /usr/lib/ruby/1.9.1/rubygems/errors.rb
101 /usr/lib/ruby/1.9.1/rubygems/text.rb
102 /usr/lib/ruby/1.9.1/rubygems/spec_fetcher.rb
103 /usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb
104 /usr/lib/ruby/1.9.1/rubygems/local_remote_options.rb
105 /usr/lib/ruby/1.9.1/rubygems/validator.rb
106 /usr/lib/ruby/1.9.1/rubygems/version_option.rb
107 /usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb
108 /usr/lib/ruby/1.9.1/fileutils.rb
109 /usr/lib/ruby/1.9.1/i386-cygwin/socket.so
110 /usr/lib/ruby/1.9.1/socket.rb
111 /usr/lib/ruby/1.9.1/net/protocol.rb
112 /usr/lib/ruby/1.9.1/net/http.rb
113 /usr/lib/ruby/1.9.1/time.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment