Ruby on Rails
UnderstandingTheScriptFiles
The script directory contains tools useful for the development of Rails applications. Here is a brief overview of what each script is for:
- about — About your application’s environment
- breakpointer — The client for listening receiving debuging information from your application. See HowtoDebugWithBreakpoint.
- console — The Console gives you access to your Rails Environments where you can interact with the domain model.
- destroy — Wipe out components you’ve generated (takes similar arguments to generate script). See HowToUngenerateStuff
- generate — generators produce boilerplate code. There a many AvailableGenerators. See also UnderstandingGenerators.
- performance/
- benchmarker — benchmark one or more statement a number of times from within the environment. See BenchmarkerScript.
- profiler — Returns profiling information when given a line of ruby code. See ProfilerScript.
- plugin — Rails plugin manager. Try
script/plugin --help for full list of options. See Plugins for more information.
- process/ — Scripts for gracefully controlling Lighttpd processes. See LighttpdWithProcessScripts for full details.
- runner — Run some ruby code in your applications environment (given ruby code as the sole argument within quotes). See RunnerScript
- server — Start your application using either Lighttpd or WEBrick. See also How to use lighttpd with ./script/server. Faulty Link to be fixed
category: Understanding
Updated
on June 22, 2006 14:41
by
Mayank Jain (220.224.90.160)