Open Syonyk opened 2 years ago
maybe $rustup override set 1.51.0
maybe
$rustup override set 1.51.0
The script was failing for me on line 51 and this fixed it, thanks!
It also works if you run the commands line by line rather than in the script. Anyways a fix has been pushed and I'll check if the script is now fixed in the next few days
I was actually running the commands line-by-line. After I ran line 51 I got errors. After I ran the rustup override command, I re-ran line 51 and it completed with no errors.
Trying this on my Ubuntu 20.04 PineBook Pro, I found a few issues in the script:
libcrypto++8 doesn't exist, it's libcrypto++6 - not a big deal, easy change, though the script could detect releases.
After installing nvm, if it's not been installed before, the proper script needs to be run so that nvm is available to a bash script.
+export NVM_DIR=$HOME/.nvm; +source $NVM_DIR/nvm.sh; + echo "installing nvm 14.16.0..."
nvm install 14.16.0 -nvm use 14.6.0 +nvm use 14.16.0
echo "installing rustup..."
echo "installing rustup..." curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Unfortunately, it then seems to try to use a nightly rustc build and fails.