kabir kPro Student 18,036 Points
Can't change directory to treehouse/
I have been following the
Installing a Ruby Development Environment video but at the end of the video when it says to type
cd treehouse/, I got the following response in the terminal
-bash: cd: treehouse/: No such file or directory
How do I do it so that I can change directory to treehouse/?
Jason AndersTreehouse Moderator 144,971 Points
One, you don't actually need to put the ending slash in the command, but that's not the problem here.
If I remember this course correctly, you have to make the directory first, before you can switch to it. (Something I don't think they mention)
So, from your home directory in the cmd line, type
mkdir treehouse and hit enter.
You can check that it was created with
After that, you can switch to it with the command you have.
Hope this helps. Keep Coding! :)