"Command ‘rails’ not found, but can be installed with:
apt install ruby-railties"
"Command ‘rake’ not found, but can be installed with:
snap install ruby # version 2.7.1, or apt install rake"
I am getting these errors when trying step 8 from below.