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

Matt Guingrich
450 Points"Installing Ruby" Video
~6 min. into the video I am prompted to enter
mate ~/.bash_profile
and in return I get
-bash: mate: command not found
At this point, I have no idea what this means, or how to attempt a troubleshoot.
10 Answers

James Barnett
39,199 Points@Matt - mate
is the command line version of Textmate a popular text editor on OS X.
What OS are you using? Windows? OS X? Linux?

Matt Guingrich
450 PointsOS X 10.8.2

Matt Guingrich
450 PointsI was using the Terminal utility for Mac to do the install outlined in the "Installing Ruby" video. Does that mean my setup will be different than what is shown in the video?

James Barnett
39,199 Points@Matt - It means you don't have textmate installed, which is fine because textmate is software you have to buy. Just use the nano text editor instead. Substitute nano
everywhere the video uses mate

Matt Guingrich
450 PointsThat worked, thank you. So, I can continue to use nano instead of mate in all instances, even past the first video?

James Barnett
39,199 Points@Matt - Yes indeed.
In fact any time you need to edit a file via the command line on OS X (or Linux for that matter) you can use nano.
I'd suggest that there should probably be a teacher's note about this.

Jason Seifer
Treehouse Guest Teacher@James Great suggestion! I've added a teacher's not for it.

James Barnett
39,199 Points@Jason - Thanks
I love how responsive to suggestions the teachers at Treehouse are.

Scott Reuber
Courses Plus Student 12,756 PointsI see on the teacher's note it says 'open -e' instead of 'nano' as James recommended here…what's the difference, if I might ask?

Jason Seifer
Treehouse Guest Teacher"open -e" will open the file in Text Edit which is a text editor that comes with every Mac.