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

mate hello.rb

Hey,

I have ruby installed. I also have textmate installed in my app folder (e.g. when I type open -a text mate the application pops open.

In an early Ruby exercise, I am supposed to write mate hello.rb

But I receive: Lukes-MacBook-Pro:~ lma58$ mate hello.rb -bash: mate: command not found

How is this possible? I don't want to only use nano hello.rb to edit the file.

1 Answer

Ah I just figured it out.

When I first installed textmate, I did not activate the shell command under Preferences. I just enabled it.

Got it!