Created
October 13, 2017 21:52
-
-
Save pboling/8c12018b946a7670e8346fc1864c7e09 to your computer and use it in GitHub Desktop.
:github macro is slated to become secure HTTPS by default in the Bundler 2.0 release, this is a fix until then
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fixes :github macro to be secure HTTPS. | |
# :github macro is slated to become secure HTTPS by default in the Bundler 2.0 release. | |
git_source(:github) do |repo_name| | |
repo_name = "#{repo_name}/#{repo_name}" unless repo_name =~ /\// | |
"https://github.com/#{repo_name}.git" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment