Ruby on Rails 2.1 - The Useful 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 environenment|
|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||Profile an expansive method|
|script/performance/benchmarker||benchmark different methods|
Here is an example to call a script. Following script will start development server.
C:\ruby> ruby script/server