Copyright ©

Ruby on Rails - The Scripts

script/aboutGives information about environenment
script/breakpointerStarts the breakpoint server
script/consoleinteractive Rails Console
script/destroyDeletes files created by generators
script/generateUsed by generators
script/runnerExecutes a task in the rails context
script/serverLaunches the development server
script/performance/profileProfile an expansive method
script/performance/benchmarkerbenchmark different methods

Script Example:

Here is an example to call a script. Following script will start development server.

C:\ruby> ruby script/server

Copyright ©