Welcome to the Treehouse Community
Looking to learn something new?
How do you relaunch and preview a rails app e.g. 'myproject' from terminal after closing it?
I'm working with rails on OSX, and after having built a basic website app called 'myproject', I can't seem to open the app again in Terminal so that I can get a link to "localhost:3000" again and preview my site.
When I open terminal and navigate to myproject "cd myproject" and then say "rails s", the terminal spits out a bunch of Usage guidelines.
What am I doing wrong? I just want to be able to launch my app project 'myproject' again so I can continue working on it.
Tyler Taylor17,939 Points
Yeah you're probably just looking for a missing or extra 'end' somewhere. Hope this helps!
Ok, I think that's helpful. I'll check out the syntax in that file and see if that works.
Thanks Tyler, that worked -- I had just added a bad bit of code on line 11 that needed to be taken out.