Problem with entering rails environment with ruby script/console command
I'm learning ruby from Patrick Lenz's "Build your Ruby On Rails Applications". Please help me with the following -
I'm trying to do the following (copy-paste from book)
Please answer -
To enter a Rails console, change to your shovell folder, and enter the command
ruby script/console, as shown below. The >> prompt is ready to accept your
$ cd shovell
$ ruby script/console
Loading development environment.
1. Where exactly is 'shovell' folder located?
2. I'm getting "ruby - no such file or directory -- script/console (LoadError)
What am I doing wrong?