Tutorials Point

  Learning Ruby on Rails
  Ruby on Rails Quick Guide
  Ruby Tutorial
  Ruby on Rails Resources
  Selected Reading

Copyright © 2014 by tutorialspoint

  Home     References     Discussion Forums     About TP  

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

previous Printer Friendly