Ruby on Rails - The Scripts
Ruby provides many useful scripts, which you use during your project implementation. Here are few scripts which you will use most frequently.
|script/about||Gives information about environment.|
|script/breakpointer||Starts the breakpoint server.|
|script/console||Interactive Rails Console.|
|script/destroy||Deletes files created by generators.|
|script/generate||Used by generators.|
|script/runner||Executes a task in the rails context.|
|script/server||Launches the development server.|
|script/performance/profile||Profiles an expansive method.|
|script/performance/benchmarker||Benchmarks different methods.|
Here is an example to call a script. Following script will start development server.
C:\ruby> ruby script/server