Juliana
Juliana

Reputation: 578

Error when adding github as a gem source

When I use the following: gem sources -a http://gems.github.com I get the error:

Error fetching http : // gems.github.com: timed out (http : // gems.github.com/specs.4.8.gz)

Can someone help me?

Upvotes: 2

Views: 4522

Answers (2)

Onur Sönmez
Onur Sönmez

Reputation: 1

Please use follow command:

/sbin/ifconfig em1 mtu 1476 up em1: your network card name

to make it permanent add command to /etc/rc.local file

Upvotes: 0

Adnan Tahir
Adnan Tahir

Reputation: 46

From terminal

gem source --add http://gems.github.com

Or if you are using Gemfile, add on the top on the file

source 'http://gems.github.com/'

Upvotes: 2

Related Questions