Skip to content

Commit 1873adf

Browse files
committed
Use :rubygems shortcut as standard Gemfile's source instead of explicit URL.
Theoretically this would future-proof Gemfiles against possible (albeit unlikely) change in the rubygems URL.
1 parent 522c0fd commit 1873adf

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source 'https://rubygems.org'
1+
source :rubygems
22

33
<%= rails_gemfile_entry -%>
44

0 commit comments

Comments
 (0)