Learning Ruby on Rails 2.1
Advanced Ruby on Rails 2.1
Ruby on Rails Quick Guide
Ruby Tutorial
Ruby on Rails Resources
Selected Reading
© 2013 TutorialsPoint.COM
|
Ruby on Rails 2.1 - The Useful Scripts
Advertisements
Ruby provides many useful scripts which you use during your project implementation. Here are few scripts which you will use most frequently.
| Script | Description |
| 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 |
Script Example:
Here is an example to call a script. Following script will start development server.
C:\ruby> ruby script/server
|
Advertisements
|
|
|