"no such file or directory"

T

The Print Guy

ruby script\generate model Entry
which I am running from an MS Dos prompt is not working. It was 10 minutes
ago before I stopped the server.

ruby: No such file or directory -- script/generate (LoadError)

What did I do wrong?
 
P

Paul

make sure you are in the Rails application that you created's
directory.

e.g.

c:\rubydev\rails\myapp>ruby script\generate model Entry

note.
There should be a script directory under the myapp directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,241
Latest member
Lisa1997

Latest Threads

Top