Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report #1574

Closed
1 task done
unstppbl opened this issue Mar 31, 2016 · 5 comments
Closed
1 task done

Bug report #1574

unstppbl opened this issue Mar 31, 2016 · 5 comments

Comments

@unstppbl
Copy link

I'm having a problem or would like to suggest a feature.

My current problem is cannot install anything with gem install command, tried for jekyll and rails as well.

This issue is related to:

  • The command line gem

Here are my current envrionment details:
Linux Ubuntu 14.04

user@Jarvis:~/altsab.github.io$ gem install jekyll
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org/quick/Marshal.4.8/jekyll-3.1.2.gemspec.rz)

user@Jarvis:~/altsab.github.io$ gem install rails --source http://rubygems.org
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org/quick/Marshal.4.8/rails-4.2.6.gemspec.rz)

$ gem env version
2.6.2

I will abide by the code of conduct.

@djberg96
Copy link
Contributor

djberg96 commented Apr 3, 2016

@altsab Can you please show us the full output of "gem env"? Also, is there a proxy between you and the rubygems server?

@unstppbl
Copy link
Author

unstppbl commented Apr 4, 2016

RubyGems Environment:

  • RUBYGEMS VERSION: 2.6.2
  • RUBY VERSION: 1.9.3 (2013-11-22 patchlevel 484) [x86_64-linux]
  • INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1
  • USER INSTALLATION DIRECTORY: /home/nrchst/.gem/ruby/1.9.1
  • RUBY EXECUTABLE: /usr/bin/ruby1.9.1
  • EXECUTABLE DIRECTORY: /usr/bin
  • SPEC CACHE DIRECTORY: /home/nrchst/.gem/specs
  • SYSTEM CONFIGURATION DIRECTORY: /etc
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-linux
  • GEM PATHS:
    • /usr/lib/ruby/gems/1.9.1
    • /home/nrchst/.gem/ruby/1.9.1
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
  • SHELL PATH:
    • /usr/local/sbin
    • /usr/local/bin
    • /usr/sbin
    • /usr/bin
    • /sbin
    • /bin
    • /usr/games
    • /usr/local/games

There is no proxy, actually I tried with proxy as well.

@unstppbl
Copy link
Author

unstppbl commented Apr 4, 2016

UPDATE:

I'm in China and there is a firewall, maybe this is a cause.

@arlmy
Copy link

arlmy commented Apr 7, 2016

@unstppbl
Copy link
Author

unstppbl commented Apr 7, 2016

@arlmy Thank you a lot! I couldn't find this way because I'm not a chinese, thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants