-
-
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
hope to handle 308 statecode in rbenv-install.ps1/function dl() #18
Comments
Thanks for your feedback and your patience in trying to solve it by yourself. 👍 In effect, the issue is reported several times, see #7 I speculate you're using I'll dig into the problem in detail later. |
ohhhh, I did not see that issue before. My PowerShell is indeed version 5.1. Thanks! |
However, I'll close this issue. If you have any doubts, please re-open it. Thanks. |
I've changed my mind, because I think it's easy to fix. As I've said above, it's because PowerShell |
I've patched the code. I've tested it on my machine and it works. Please check it yourself If you have time. 🤝 Thanks for reporting it! 👍 |
I am installing ruby for the first time. During the installation process, It need to visit https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/github-release/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.2.2 -1/rubyinstaller-devkit-3.2.2-1-x64.exe to download, but the powershell script fails with 308, I use the browser to download from this URL succcessfully, because 308 returns a redirected address.
I think a good way to solve this is to add 308 in
$handledCodes
just like this:however it doesn't work. Finally I change the condition of statecode to solve the problem like:
I hope the support to 308 can be added and I still feel confused about why change
$handledCodes
don't work?The text was updated successfully, but these errors were encountered: