Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Installing a Ruby Development Environment Installing a Ruby Development Environment Installing the Treehouse VM on Mac

Ronnie Barua
Ronnie Barua
17,665 Points

Need help to install. I'm installing treehouse VM and it doesn't work

After I finish installing treehouse VM, open the downloads folder and it creates a treehouse folder than I go to treminal to change directory, which is cd treehouse but my Mac Pro says "no such file or directory". I did everything Jason said. It's been a while trying to install ruby. Thanks for looking in to this issue.

4 Answers

Stone Preston
Stone Preston
42,016 Points
cd treehouse

is using a relative path. it will look for a directory named treehouse inside the directory you are currently in. the treehouse folder probably is not inside your current directory. use an absolute path (the full path to the file starting at the root of your system) to the treehouse folder that was created

cd /the/absolute/path/to/the/treehouse/folder
Ronnie Barua
Ronnie Barua
17,665 Points

Thanks Stone! Unfortunately, I get "No such file or directory".

Stone Preston
Stone Preston
42,016 Points

what path did you use?

Before running cd treehouse, you might want to move the treehouse folder to where you usually do any web dev projects. It sounds like you just unzipped the folder in your Downloads folder.

  1. First move the treehouse folder where you normally place your web dev projects if you have a location like that.
  2. Then in Terminal cd into the location where you placed the treehouse folder. If you're not very familiar with moving around directories in Terminal, you can just type cd and then from a Finder window drag the treehouse folder into your Terminal window. Dragging the folder into Terminal automatically inserts the full directory path of the folder you just dragged in.

Hope that makes sense. If not, you can also take Treehouse's Console Foundations course if you haven't already done it.

I am on my mac and still cannot get the VM to launch every time I type the vagrant up command is says "vagrant: command not found" please help