Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gel to support GitHub flag #34

Open
venarius opened this issue Apr 22, 2019 · 1 comment
Open

Gel to support GitHub flag #34

venarius opened this issue Apr 22, 2019 · 1 comment

Comments

@venarius
Copy link
Contributor

I really like the feature of bundler to easily clone repos from GitHub by specifying the repository path using the github flag:

gem 'nokogiri', :github => 'tenderlove/nokogiri'

Would be awesome if Gel also supports that feature. Since I already said that I want to get more involved into this project, I can also try adding support for that flag 👍

@matthewd
Copy link
Member

Yes please!

It already support's Bundler's new recommended format, where you first define it in your Gemfile:

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

.. but I think it'd be neat to have built-in support for :github, as Old-Time Bundler once did.

For compatibility, it would probably need to use the same URL format as Old Bundler in the lockfile, but should automatically use https internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants