ERROR: While executing gem (Errno::ECONNREFUSED) Connection refused - recvfrom(2)

166 views
Skip to first unread message

Jeffrey Hurtle

unread,
Sep 24, 2015, 5:21:05 PM9/24/15
to rubyonra...@googlegroups.com
Hello I'm trying to install bundler using this command

gem install bundler

Once i run the command this comes out

ERROR: While executing gem ... (Errno::ECONNREFUSED)
Connection refused - recvfrom(2)

Attachments:
http://www.ruby-forum.com/attachment/11115/Untitled1.png


--
Posted via http://www.ruby-forum.com/.

Matt Jones

unread,
Oct 5, 2015, 9:59:55 AM10/5/15
to Ruby on Rails: Talk


On Thursday, 24 September 2015 17:21:05 UTC-4, Ruby-Forum.com User wrote:
Hello I'm trying to install bundler using this command

gem install bundler

Once i run the command this comes out

ERROR:  While executing gem ... (Errno::ECONNREFUSED)
    Connection refused - recvfrom(2)

Attachments:
http://www.ruby-forum.com/attachment/11115/Untitled1.png

The typical cause of this issue is something that makes an SSL connection to rubygems.org fail. It's hard to say more without additional information: your copy of Ruby may have been installed without OpenSSL, the certificate that issued the one used by Rubygems.org may not be trusted by your machine, a proxy server along the way could be misconfigured.

--Matt Jones
Reply all
Reply to author
Forward
0 new messages