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

Ruby

Jenny Swift
Jenny Swift
21,999 Points

Trouble Installing ruby on Mac

Hi, I'm trying to follow this tutorial. http://teamtreehouse.com/library/installing-a-ruby-development-environment/installing-a-ruby-development-environment/installing-ruby-on-mac When I do what Jason does at 00:45 and paste it into Terminal I get the following: -bash: $: command not found What should I do please?

Jenny Swift
Jenny Swift
21,999 Points

I have since installed the Treehouse VM, so I don't think I actually need to do this anymore, although I still don't understand what went wrong here.

2 Answers

Try typing "Git" and hitting enter, if you get an error you probably need to go to the app store on mac, and download xCode, once downloaded (it's over 1 GB) you need to find install command line tools inside of xCode. The rest of the steps should work now.

Jenny Swift
Jenny Swift
21,999 Points

Hi Gregory, thanks for the reply. I downloaded xCode and installed the command line tools from its preferences. But when I try the steps again I still get the same message (-bash: $: command not found). When I type in Git it doesn't look like I get an error.