EnglishFrenchSpanish

OnWorks favicon

rackup - Online in the Cloud

Run rackup in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rackup that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rackup

rackup(1) -- An utility for run Rack-based applications

SYNOPSIS


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

DESCRIPTION


Rackup is a useful tool for running Rack applications, which uses the Rack::Builder DSL to
configure middleware and build up applications easily.

rackup automatically figures out the environment it is run in, and runs your application
as FastCGI, CGI, or standalone with Mongrel or WEBrick -all from the same configuration.

OPTIONS


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

-I, --include [PATH]
specify $LOAD_PATH (may be used more than once)

-r, --require [LIBRARY]
require the library, before executing your script

Rack options:

-s, --server [SERVER]
serve using SERVER (webrick/mongrel)

-o, --host [HOST]
listen on HOST (default: 0.0.0.0)

-p, --port [PORT]
use PORT (default: 9292)

-E, --env [ENVIRONMENT]
use ENVIRONMENT for defaults (default: development)

-D, --daemonize
run daemonized in the background

-P, --pid [FILE]
file to store PID (default: rack.pid)

Common options:

-h, --help
Show the help message

--version
Show version

EXAMPLES


This is a simple example on how to start an application based on Rack with rackup:

$ rackup -Ilib blog/config.ru

[2010-12-10 15:01:11] INFO WEBrick 1.3.1

[2010-12-10 15:01:11] INFO ruby 1.9.2 (2010-08-18) [x86_64-linux]

[2010-12-10 15:01:11] INFO WEBrick::HTTPServer#start: pid=4496 port=9292

AUTHORS


Copyright (C) 2007, 2008, 2009, 2010 Christian Neukirchen
<http://purl.org/net/chneukirchen>

For a complete list of authors and contributors to the project, please take a look here
https://github.com/rack/rack/contributors

This manual page was written by Ermenegildo Fiorito [email protected] for the Debian
Project

Use rackup online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 2
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 3
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 4
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 5
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 6
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • More »

Linux commands

Ad