Ruby on Rails
UnderstandingTheScriptFiles (Version #21)

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
  • generategenerators 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.
    • reaper
    • spawner
  • 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.

category: Understanding

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
  • generategenerators 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.
    • reaper
    • spawner
  • 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.

category: Understanding