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?
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?
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.