Issue
I am trying to install ruby on rails in a user named Test
in Ubuntu2004 (Windows Subsystem). Following steps in this website: rel="nofollow noreferrer">https://gorails.com/setup/windows/10
However, I kept getting error from the following step:
git clone https://github.com/excid3/asdf.git ~/.asdf
Error:
fatal: could not create leading directories of '/home/Test/.asdf': Permission denied
What should I do to get past this step?
I am hoping someone could walk me through steps I should do to install ruby on rails successfully.
Solution
I did
sudo -E bash
and solved this issue
Answered By - Roy Huang Answer Checked By - Timothy Miller (WPSolving Admin)