OS Manuals

/usr/bin/rackup

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby

From ruby3.2-rack-2.2 2.2.23-r0 (os), captured 2026-11-05 by running rackup --help (exit 0). permalink

Also provided by 32 other package versions
Usage: rackup [ruby options] [rack options] [rackup config]

Ruby options:
  -e, --eval LINE          evaluate a LINE of code
  -d, --debug              set debugging flags (set $DEBUG to true)
  -w, --warn               turn warnings on for your script
  -q, --quiet              turn off logging
  -I, --include PATH       specify $LOAD_PATH (may be used more than once)
  -r, --require LIBRARY    require the library, before executing your script

Rack options:
  -b BUILDER_LINE,         evaluate a BUILDER_LINE of code as a builder script
      --builder
  -s, --server SERVER      serve using SERVER (thin/puma/webrick)
  -o, --host HOST          listen on HOST (default: localhost)
  -p, --port PORT          use PORT (default: 9292)
  -O NAME[=VALUE],         pass VALUE to the server as option NAME. If no VALUE, sets it to true. Run '/usr/bin/rackup -s SERVER -h' to get a list of options for SERVER
      --option
  -E, --env ENVIRONMENT    use ENVIRONMENT for defaults (default: development)
  -D, --daemonize          run daemonized in the background
  -P, --pid FILE           file to store PID

Profiling options:
      --heap HEAPFILE      Build the application, then dump the heap to HEAPFILE
      --profile PROFILE    Dump CPU or Memory profile to PROFILE (defaults to a tempfile)
      --profile-mode MODE  Profile mode (cpu|wall|object)

Common options:
  -h, -?, --help           Show this message
      --version            Show version
Warning: Could not find handler specified (default) to determine handler-specific options
Options (21)
OptionDescriptionSource
-e, --eval LINEevaluate a LINE of codehelp
-d, --debugset debugging flags (set $DEBUG to true)help
-w, --warnturn warnings on for your scripthelp
-q, --quietturn off logginghelp
-I, --include PATHspecify $LOAD_PATH (may be used more than once)help
-r, --require LIBRARYrequire the library, before executing your scripthelp
-b BUILDER_LINEevaluate a BUILDER_LINE of code as a builder scripthelp
--builderhelp
-s, --server SERVERserve using SERVER (thin/puma/webrick)help
-o, --host HOSTlisten on HOST (default: localhost)help
-p, --port PORTuse PORT (default: 9292)help
-O NAME[=VALUEpass VALUE to the server as option NAME.help
--optionhelp
-E, --env ENVIRONMENTuse ENVIRONMENT for defaults (default: development)help
-D, --daemonizerun daemonized in the backgroundhelp
-P, --pid FILEfile to store PIDhelp
--heap HEAPFILEBuild the application, then dump the heap to HEAPFILEhelp
--profile PROFILEDump CPU or Memory profile to PROFILE (defaults to a tempfile)help
--profile-mode MODEProfile mode (cpu|wall|object)help
-h, -?, --helpShow this messagehelp
--versionShow versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.