Skip to content
Browse files

default source in Gemfiles to :rubygems rather than hardcoding the URL

* I guess this would be the preferrable default for Bundler
* current version of Bundler converts :rubygems into 'http://rubygems.org';, not https://,
  and that will help those who are working on a very poor network environment that doesn't allow SSL
  • Loading branch information...
1 parent 0be0a97 commit 4ed645b37eccdec18c48e42410aadd7a03032cfd @amatsuda amatsuda committed Nov 28, 2012
View
2 Gemfile
@@ -1,4 +1,4 @@
-source 'https://rubygems.org'
+source :rubygems
gemspec
View
2 guides/code/getting_started/Gemfile
@@ -1,4 +1,4 @@
-source 'https://rubygems.org'
+source :rubygems
gem 'rails', '3.2.3'
View
2 railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -1,4 +1,4 @@
-source 'https://rubygems.org'
+source :rubygems
<%= rails_gemfile_entry -%>
View
2 railties/lib/rails/generators/rails/plugin_new/templates/Gemfile
@@ -1,4 +1,4 @@
-source "http://rubygems.org"
+source :rubygems
<% if options[:skip_gemspec] -%>
<%= '# ' if options.dev? || options.edge? -%>gem "rails", "~> <%= Rails::VERSION::STRING %>"

0 comments on commit 4ed645b

Please sign in to comment.
Something went wrong with that request. Please try again.