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 Ruby Foundations Ruby Basics IRB and Your First Ruby Program

My command lines always replies command not found to mate commands

any help would be awesome

3 Answers

This most likely means that you either don't have TextMate installed, or that you have not added it to your path.

If you are using Mac, this is good answer:

http://superuser.com/questions/201251/how-to-add-textmate-to-my-path-on-mac

Hope it helps!

You also might not have the command line commands installed for Textmate. Here's a bit more about installing the Textmate 2 command line stuff!

gerald blady
gerald blady
9,052 Points

How to access Sublime text via terminal?

In the example mate hello.rb was entered. when i tried that nothing happened.

So what I did was opened sublime text, created the hello.rb file with the string 'puts "hello world" and saved it out to my main folder. from there in terminal i was able to type ruby hello.rb and the string appeared.

just looking how to do it the way he did.

thanks!