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

Fix rbenv-installer links #7

Merged
merged 1 commit into from
Apr 27, 2022
Merged

Fix rbenv-installer links #7

merged 1 commit into from
Apr 27, 2022

Conversation

liamnichols
Copy link
Collaborator

@liamnichols
Copy link
Collaborator Author

Looks like it specifically relates to using HEAD in the URL:

$ curl -I https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer
HTTP/2 404 

Replacing it with main is a 302 redirect:

$ curl -I https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer
HTTP/2 302 
server: GitHub.com
location: https://raw.githubusercontent.com/rbenv/rbenv-installer/main/bin/rbenv-installer

Which lead to using https://raw.githubusercontent.com in the PR

@ainame ainame merged commit 324bffa into ainame:main Apr 27, 2022
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 this pull request may close these issues.

None yet

2 participants