Re: Can''t initialize a new Rails application

Nick van der Wildt
Mon, 17 Jun 2013 17:54:06 -0000

Here''s what I think happened. You created your first Ruby application
called "profile".. it generated successfully and terminal opened up
the
directory. Now you want to create another rails app, but terminal is
still in that rails directory of "profile" (hence the name profile
next
to your imac''s name).

To get out of it, type "cd ~/Desktop" (which stands for "change
directory" and that will change the directory to your desktop. Then type
"rails new {name}" for your next app, and it should work again!

If you find yourself having trouble with this, I recommend going through
the first chapters of the Rails Tutorial book by Michael Hartl. If I
remember correctly, he discusses the command prompts and other stuff
around ruby and rails at great lengths.

Let me know if this worked out for you, otherwise we''ll have to find
another solution!

--
Posted via http://www.ruby-forum.com/.

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit