Scroll to navigation

RACKUP(1) User Commands RACKUP(1)

NAME

rackup - rackup

SYNOPSIS

rackup [ruby options] [rack options] [rackup config]

DESCRIPTION

Ruby options:

evaluate a LINE of code
set debugging flags (set $DEBUG to true)
turn warnings on for your script
turn off logging
specify $LOAD_PATH (may be used more than once)
require the library, before executing your script

Rack options:

evaluate a BUILDER_LINE of code as a builder script

--builder

serve using SERVER (thin/puma/webrick)
listen on HOST (default: localhost)
use PORT (default: 9292)
pass VALUE to the server as option NAME. If no VALUE, sets it to true. Run 'bin/rackup -s SERVER -h' to get a list of options for SERVER

--option

use ENVIRONMENT for defaults (default: development)
run daemonized in the background
run daemonized in the background without closing stdout/stderr
file to store PID

Profiling options:

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

Common options:

Show this message
Show version
November 2022 rackup 0.2.2