diff options
author | Andy Rossmeissl <github@rossmeissl.net> | 2012-01-25 23:36:06 -0500 |
---|---|---|
committer | Andy Rossmeissl <github@rossmeissl.net> | 2012-01-25 23:36:06 -0500 |
commit | 1873adf6e4863b65830473ce213768a02bea5fe7 (patch) | |
tree | b0b3c852b70a19b1ca25f89de4f7ef289594d7b9 /railties/lib/rails | |
parent | 522c0fdb555d54ca68d1acfd1bd8e67fd0040086 (diff) | |
download | rails-1873adf6e4863b65830473ce213768a02bea5fe7.tar.gz rails-1873adf6e4863b65830473ce213768a02bea5fe7.tar.bz2 rails-1873adf6e4863b65830473ce213768a02bea5fe7.zip |
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.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index 5e9c385ab8..98cf85f118 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -1,4 +1,4 @@ -source 'https://rubygems.org' +source :rubygems <%= rails_gemfile_entry -%> |