Ruby on Rails Thursday, October 22, 2015

On 22 October 2015 at 16:01, Darren Brett King
<darrenkingcoaching@gmail.com> wrote:
> Hi everyone,
>
> I have a question, that I can't seem to find an answer for anywhere. I might
> be missing something obvious, but the best way to find out is to ask. So,
> when I re-open Rails, and I want to go back into an application, what do I
> enter in the terminal? I understand I use "rails new _______" when I am
> creating a new app, but what about when I just want to reopen an existing
> one? It seems like "cd appname" doesn't work either. I'd appreciate any help
> you can offer in this regard.

It is not clear what you mean by 'reopen rails'. Rails is not
something you open. However, if you cd to the folder where where you
ran rails new, then run cd appname.
If cd appname shows an error then run
ls
and copy/paste the result here. Also tell us the path of the folder
where you ran rails new.

If cd appname does not show an error then to start the server run
rails s

I deduce, however, that you are an absolute beginner in rails, so
suggest you start by working right through a good tutorial such as
railstutorial.org. That will show you the basics of rails.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt%2BKrsdP1C_8ch5id-iOFUVLwo7_MRDR1ENBYhgYicXMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment