summaryrefslogtreecommitdiff
path: root/lib/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-12-07 19:23:22 +0100
committergit <svn-admin@ruby-lang.org>2021-12-08 07:59:34 +0900
commit76cad13759143ab35559b30d3e8eed71ce3e8553 (patch)
treef92466ba69aeca772d67fccc3fdfe0e745f2439d /lib/bundler
parentf0ef9ffed1afe6a4add8959ed54b986d952c0a31 (diff)
[rubygems/rubygems] Don't add custom github source to `bundle init` Gemfile
It's provided by bundler. https://github.com/rubygems/rubygems/commit/25ccaab46b
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/templates/Gemfile2
-rw-r--r--lib/bundler/templates/gems.rb2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/bundler/templates/Gemfile b/lib/bundler/templates/Gemfile
index d41f2719b4..d2403f18b2 100644
--- a/lib/bundler/templates/Gemfile
+++ b/lib/bundler/templates/Gemfile
@@ -2,6 +2,4 @@
source "https://rubygems.org"
-git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
-
# gem "rails"
diff --git a/lib/bundler/templates/gems.rb b/lib/bundler/templates/gems.rb
index 56a62a7a82..0bf475f0e5 100644
--- a/lib/bundler/templates/gems.rb
+++ b/lib/bundler/templates/gems.rb
@@ -3,6 +3,4 @@
# A sample gems.rb
source "https://rubygems.org"
-git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
-
# gem "rails"