So I am a newbie programmer just starting to learn Ruby and am reading Michael Hartl’s book “Learn Ruby The Hard Way”.
In exercise 0 (http://learnrubythehardway.org/book/ex0.html) , he describes the steps a person must take to get his computer to run Ruby, which includes learning how to make a directory in the Terminal, change into a directory in the Terminal and use the editor to create a file in the directory.
I could complete all the steps successfully except step 11 — (Use your editor to create a file in this directory. You will make the file, “Save” or “Save As…,” and pick this directory). — no idea how to do this.
Operating System : OSX Yosemite Version 10.10.2
Text Editor : TextWrangler.
Can I Launch the text editor : Yes
Where am I stuck : Step 11 of this tutorial page — http://learnrubythehardway.org/book/ex0.html where it says to " Use your editor to create a file in this directory. You will make the file, “Save” or “Save As…,” and pick this directory. " — How do I do this ?
Ok , got the part about the file menu … but how do you “pick this directory” as per the instructions in the manual ?
I created a new “Hello World” text document and clicked the “Save As…” link , and under the “Where” tab , there were a bunch of folders like “Applications” , “Remote Disk” , “ICloud Drive”, “DropBox”, “Desktop” and “Downloads” … where lies the “directory” where I can save my new created file ?
Click this button to expand the file dialog. Then hold Command-Shift-H. That will put you in your home directory. You should be to scroll through and find the directory you named mystuff.