nak1114 / rbenv-win

rbenv for Windows
MIT License
102 stars 33 forks source link

Microsoft WBScript runtime error: Path not found #35

Open majuabir opened 2 years ago

majuabir commented 2 years ago

I ran the following command rbenv install 2.2.4

Output: download 2.2.4 ... install 2.2.4 ... C:\Users[UserName Here].rbenv-win\libexec\rbenv-install.vbs(365, 5) Microsoft VBScript runtime error: Path not found

How do I fix this?

kubo commented 2 years ago

rbenv-win tries to download 2.2.4 from http://dl.bintray.com/. However it shut down on May 1st, 2021.

I guess that 2.2.4 is available if http://dl.bintray.com/oneclick/rubyinstaller/ in the following code is replaced with https://github.com/oneclick/rubyinstaller/releases/download/ruby-2.2.4/.

https://github.com/nak1114/rbenv-win/blob/844a911e1d9639d66175162981ee1a4e9088ffb8/libexec/rbenv-install.vbs#L74-L75 https://github.com/nak1114/rbenv-win/blob/844a911e1d9639d66175162981ee1a4e9088ffb8/libexec/rbenv-install.vbs#L177-L178