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 Methods Instance Methods

Trouble making mkdir -p Source/methods using macPro. Thanks in advance

Getting syntexError: unexpected tCONSTANT, expecting keyword_do or '{' or ' ('

I've tried without -p, that did gave me NameError: uninitialized constant Source

4 Answers

I'll take a wild guess: you entered this command in IRB, not in the normal terminal window. Please exit IRB and try again.

You are 100% correct. Now it's working. Thank you so much

Now I can't open subl folder/file. "command not found". Does it have anything do with Python, that I have installed recently?

I have a export PATH = "$HOME/.rbenv/bin:$PATH

No. Jason has Sublime Text installed and he also configured a custom terminal command that opens Sublime Text. Ignore it and just open the file using your favorite text editor.

Okay, thanks again!