aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-05-24 17:25:43 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-05-24 17:25:43 +0200
commit0b8441bd415c444b8d4afbfc93af79ec7677aa2c (patch)
tree3602f809c8190a2a132f1e36d1e34a0240a25ed1 /railties
parente0318bf0d0f9c694f91442c49addc6c216d06aa4 (diff)
downloadrails-0b8441bd415c444b8d4afbfc93af79ec7677aa2c.tar.gz
rails-0b8441bd415c444b8d4afbfc93af79ec7677aa2c.tar.bz2
rails-0b8441bd415c444b8d4afbfc93af79ec7677aa2c.zip
We dont actually use the ultra short-hand, so no need to complicate things with it
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile2
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 d4015d8b21..747d2e6253 100644
--- a/railties/lib/rails/generators/rails/app/templates/Gemfile
+++ b/railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -1,5 +1,5 @@
source 'https://rubygems.org'
-git_source(:github) { |repo| "https://github.com/#{repo.include?("/") ? repo : "#{repo}/#{repo}"}.git" }
+git_source(:github) { |repo| "https://github.com/#{repo}.git" }
<% gemfile_entries.each do |gem| -%>
<% if gem.comment -%>