Forum: Ruby Learning Ruby

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
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.
This topic is locked and can not be replied to.