Forum: Ruby Learning Ruby

Dd2eb9bb8c54b1a3ea82dbbcff703d9c?d=identicon&s=25 David S. (david_s13)
on 2014-08-09 22:50
I am using Beginning Ruby on Rails.  The code samples in the book do not
seem to work 'as is'.

For example, this command, "ruby script/generate controller App" gives
this error:
ruby: No such file or directory -- script/generate (LoadError)

Why is that?
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2014-08-10 00:45
You're using an old tutorial, rails doesn't use script/generate anymore,
it's just generate.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.