Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Rails Gemfile defaults to https when http makes bundler so much faster?

The default gems source for Rails in the gem file is:

source 'https://rubygems.org'

Changing that to

source 'http://rubygems.org'

makes bundle install much faster so I am trying to understand what is behind the decision of making https the default. Is there something that I need to be aware of?

like image 960
Vassilis Avatar asked Oct 24 '13 07:10

Vassilis


1 Answers

form here:

Switching to HTTP is dangerous. It opens you to MITM attacks. Switching to HTTP allows hostile parties to replace gem contents with malicious contents. Switching to HTTP is not recommended.

like image 128
user2503775 Avatar answered Sep 28 '22 11:09

user2503775