Skip to content

Instantly share code, notes, and snippets.

Created November 27, 2015 15:03
Show Gist options
  • Save anonymous/e469e3506bd5ab456f31 to your computer and use it in GitHub Desktop.
Save anonymous/e469e3506bd5ab456f31 to your computer and use it in GitHub Desktop.
C:\Users\Subhash>gem install --local C:\Users\Subhash\Downloads\rubygems-update-2.0.15.gem
Successfully installed rubygems-update-2.0.15
Parsing documentation for rubygems-update-2.0.15
Installing ri documentation for rubygems-update-2.0.15
1 gem installed
C:\Users\Subhash>update_rubygems
RubyGems 2.0.15 installed
Parsing documentation for rubygems-2.0.15
Installing ri documentation for rubygems-2.0.15
------------------------------------------------------------------------------
RubyGems installed the following executables:
C:/Ruby200-x64/bin/gem
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details.
C:\Users\Subhash>gem uninstall rubygems-update -x
Removing update_rubygems
Successfully uninstalled rubygems-update-2.0.15
C:\Users\Subhash>gem install --debug json
Exception `NameError' at C:/Ruby200-x64/lib/ruby/2.0.0/fiddle/import.rb:153 - uninitialized constant Fiddle::Function::STDCALL
Exception `Errno::EEXIST' at C:/Ruby200-x64/lib/ruby/2.0.0/fileutils.rb:245 - File exists - C:/Users/Subhash/.gem/specs/rubygems.org%443
Exception `OpenSSL::SSL::SSLError' at C:/Ruby200-x64/lib/ruby/2.0.0/openssl/buffering.rb:175 - read would block
Exception `SocketError' at C:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:878 - getaddrinfo: The specified class was not found.
Exception `Gem::RemoteFetcher::UnknownHostError' at C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/remote_fetcher.rb:288 - no such name (https://rubygems.org/latest_specs.4.8.gz)
Exception `Gem::SpecificGemNotFoundException' at C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/dependency_installer.rb:308 - Could not find a valid gem 'json' (>= 0) locally or in a repository
ERROR: Could not find a valid gem 'json' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)
Exception `Errno::EEXIST' at C:/Ruby200-x64/lib/ruby/2.0.0/fileutils.rb:245 - File exists - C:/Users/Subhash/.gem/specs/rubygems.org%443
Exception `Errno::ENOENT' at C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/remote_fetcher.rb:299 - No such file or directory - C:/Users/Subhash/.gem/specs/rubygems.org%443/prerelease_specs.4.8
Exception `OpenSSL::SSL::SSLError' at C:/Ruby200-x64/lib/ruby/2.0.0/openssl/buffering.rb:175 - read would block
Exception `SocketError' at C:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:878 - getaddrinfo: The specified class was not found.
Exception `Gem::RemoteFetcher::UnknownHostError' at C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/remote_fetcher.rb:288 - no such name (https://rubygems.org/prerelease_specs.4.8.gz)
Exception `Errno::EEXIST' at C:/Ruby200-x64/lib/ruby/2.0.0/fileutils.rb:245 - File exists - C:/Users/Subhash/.gem/specs/rubygems.org%443
Exception `Errno::ENOENT' at C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/remote_fetcher.rb:299 - No such file or directory - C:/Users/Subhash/.gem/specs/rubygems.org%443/specs.4.8
Exception `OpenSSL::SSL::SSLError' at C:/Ruby200-x64/lib/ruby/2.0.0/openssl/buffering.rb:175 - read would block
Exception `SocketError' at C:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:878 - getaddrinfo: The specified class was not found.
Exception `Gem::RemoteFetcher::UnknownHostError' at C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/remote_fetcher.rb:288 - no such name (https://rubygems.org/specs.4.8.gz)
C:\Users\Subhash>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment