Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Create Gemfiles with an HTTPS github source defined
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Jun 15, 2017
1 parent a00cb2b commit 74adefe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bundler/templates/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# frozen_string_literal: true
source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gem "rails"
2 changes: 2 additions & 0 deletions lib/bundler/templates/gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
# A sample gems.rb
source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gems "rails"
2 changes: 2 additions & 0 deletions lib/bundler/templates/newgem/Gemfile.tt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in <%= config[:name] %>.gemspec
gemspec

0 comments on commit 74adefe

Please sign in to comment.