-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
& "$env:RBENV_ROOT\rbenv\bin\rbenv.ps1" init 不能正确执行 #7
Comments
你好,这个下载链接是正确的,没有错。我刚复制了这个链接到浏览器里,也可以正确下载。 不太清楚为什么那边返回了 如果还不行的话,试试 让 |
哦,我才看到,原链接你这边也下载不了。我这边来排查下。 |
@guojhq 我这边没啥问题。可能你需要检查下你那边的网络问题,如还是无法工作,请继续反馈。 |
好吧 我看下,谢谢 |
用浏览器访问 https://mirror.sjtu.edu.cn/github-release/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.2.0-1/rubyinstaller-devkit-3.2.0-1-x64.exe 这个链接,跳转到其他URL了,是不是这个原因了,我的浏览器能下载 |
了解了,我再研究下。你先试试不用镜像,看看原来的链接(从Github下载那个,你的第一张图)你能用 |
First, I want to ask that, do you try to install directly (that is not via mirror)? If so, the issue you meet is same as #8 . But the situation is very strange, because the default download link is on GitHub, so there is no I don't know if the solution above is useful to @guojhq, but here I can translate the method for you: I offer two schemes for your reference:
[System.Net.HttpStatusCode]::PermanentRedirect # HTTP 308 |
Thanks for the quick answer @ccmywish, will try these solutions. |
@ccmywish Now I noticed what was causing my problem. I copied the Powershell config from the project README and didn't delete the line to use a chinese mirror 🤦♂️ Now it is working fine, thanks for your help. |
@ricardoduarte Haha, also good to know it's not a difficult issue for maintenance work 😂 Besides, could you tell me what the |
@ccmywish My Powershell version is 5.1 |
@ricardoduarte Thanks for your information ❤️ |
I will close this issue. If there are still any questions, please feel free to come back and ask. |
The text was updated successfully, but these errors were encountered: