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 trialNick Harmon
5,900 Pointshow come when i type cd source in terminal it wont work? Gives me the message no such file or directory
how come when i type cd source in terminal it wont work? Gives me the message no such file or directory
3 Answers
Maciej Czuchnowski
36,441 PointsDo you have a directory named 'source' in the folder that you are currently in?
Nick Harmon
5,900 Pointsno, how do i do that? type mkdir source?
Maciej Czuchnowski
36,441 PointsWell...yes. cd means 'change directory', i.e. "go to directory called: x". If x is not found (you don't have the directory named 'source'), you can't expect this to work :)
Nick Harmon
5,900 PointsTHank you, I am very very new to all of this, one last question if you dont mind....it is asking me on the ruby foundations loops video to type the command subl -n loops-1.rb, but when i do this -bash says command not found? Any ideas on this? Thank You
Maciej Czuchnowski
36,441 Pointssubl is a custom command available when you install Sublime Text and configure your shortcuts. It basically opens this file loops-1.rb in Sublime Text. You don't really need to do all that, you jut want any text editor and ruby interpreter. This is enough: http://teamtreehouse.com/workspaces
Nick Harmon
5,900 PointsI am using the treehouse workspace link you gave me and have workspaces open in ruby and im getting the same error I was in terminal....
Maciej Czuchnowski
36,441 PointsBecause you don't have source directory and Workspaces does not have Sublime Text installed...it's just an editor and Workspaces has an editor built in.
Codye Watson
16,835 PointsIf you still don't understand, I would highly recommend this course - http://teamtreehouse.com/library/console-foundations - And keep up the good work!