Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature request: `gem sources --add` should write new source without hitting the URL first. #1607
I'm having a problem or would like to suggest a feature.
My current problem is gem sources requiring authentication cannot be added using
This issue is related to:
Here are my current environment details:
I will abide by the code of conduct.
I much prefer to keep the authentication information outside of .gemrc by using
My vote is for option 2.
Historically I've avoided allowing creation of a broken configuration by adding a failing URL to ~/.gemrc because it causes future failures that can be hard for the user to debug.
RubyGems could prompt for username and password (using
Yep, completely understand. I also suspect I'm in the minority in wanting to add an authenticated source url but without including the auth component. Though this does seem strikingly related to #1134 somehow.
This would be an awesome double-win: auth-free gemrc + source-url still fully validated before being written. It's also the most work :/