Skip to content

Instantly share code, notes, and snippets.

@pboling
Created October 13, 2017 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pboling/8c12018b946a7670e8346fc1864c7e09 to your computer and use it in GitHub Desktop.
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
# 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