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 trialRonnie Barua
17,665 PointsTrouble 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
Maciej Czuchnowski
36,441 PointsI'll take a wild guess: you entered this command in IRB, not in the normal terminal window. Please exit IRB and try again.
Ronnie Barua
17,665 PointsYou are 100% correct. Now it's working. Thank you so much
Ronnie Barua
17,665 PointsNow 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
Maciej Czuchnowski
36,441 PointsNo. 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.
Ronnie Barua
17,665 PointsOkay, thanks again!