summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Agalloco <steve.agalloco@gmail.com>2011-12-12 11:23:50 -0500
committerSteve Agalloco <steve.agalloco@gmail.com>2011-12-12 11:23:50 -0500
commitcd93968f1198f9aac0534ac362f98baa263e119c (patch)
treec43541558a9184c4ee33f8dfb5e51025f58ab2ba
parent6d431b8528ec11c3aa7cd10965846a7b965c5c66 (diff)
downloadbundler-cd93968f1198f9aac0534ac362f98baa263e119c.tar.gz
Access rubygems.org via https by default when using :rubygems in Gemfile.
-rw-r--r--lib/bundler/dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb
index ec9d35b695..1ee63e1322 100644
--- a/lib/bundler/dsl.rb
+++ b/lib/bundler/dsl.rb
@@ -92,7 +92,7 @@ module Bundler
def source(source, options = {})
case source
when :gemcutter, :rubygems, :rubyforge then
- @rubygems_source.add_remote "http://rubygems.org"
+ @rubygems_source.add_remote "https://rubygems.org"
return
when String
@rubygems_source.add_remote source