관리-도구
편집 파일: new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Rackup::Server::new;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"Options may include:;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I" :app;To:RDoc::Markup::Verbatim; [I"@a rack application to run (overrides :config and :builder) ;T:@format0o;;0; [o; ; [I" :builder;To;; [I"/a string to evaluate a Rack::Builder from ;T;0o;;0; [o; ; [I":config;To;; [I"4a rackup configuration file path to load (.ru) ;T;0o;;0; [o; ; [I":environment;To;; [I"=this selects the middleware that will be wrapped around ;TI"6your application. Default options available are: ;TI"= - development: CommonLogger, ShowExceptions, and Lint ;TI"" - deployment: CommonLogger ;TI"# - none: no extra middleware ;TI"Jnote: when the server is a cgi server, CommonLogger is not included. ;T;0o;;0; [o; ; [I":server;To;; [I"@choose a specific Rackup::Handler, e.g. cgi, fcgi, webrick ;T;0o;;0; [o; ; [I":daemonize;To;; [I"Eif truthy, the server will daemonize itself (fork, detach, etc) ;TI":if :noclose, the server will not close STDOUT/STDERR ;T;0o;;0; [o; ; [I" :pid;To;; [I".path to write a pid file after daemonize ;T;0o;;0; [o; ; [I" :Host;To;; [I"Fthe host address to bind to (used by supporting Rackup::Handler) ;T;0o;;0; [o; ; [I" :Port;To;; [I">the port to bind to (used by supporting Rackup::Handler) ;T;0o;;0; [o; ; [I":AccessLog;To;; [I"@webrick access log options (or supporting Rackup::Handler) ;T;0o;;0; [o; ; [I":debug;To;; [I"*turn on debug output ($DEBUG = true) ;T;0o;;0; [o; ; [I" :warn;To;; [I"#turn on warnings ($-w = true) ;T;0o;;0; [o; ; [I" :include;To;; [I"#add given paths to $LOAD_PATH ;T;0o;;0; [o; ; [I" :require;To;; [I"!require the given libraries ;T;0o; ; [I"AAdditional options for profiling app initialization include:;To;;; ;[o;;0; [o; ; [I":heapfile;To;; [I">location for ObjectSpace.dump_all to write the output to ;T;0o;;0; [o; ; [I":profile_file;To;; [I"Qlocation for CPU/Memory (StackProf) profile output (defaults to a tempfile) ;T;0o;;0; [o; ; [I":profile_mode;To;; [I"-StackProf profile mode (cpu|wall|object);T;0: @fileI"lib/rackup/server.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = nil);T@�FI"Server;TcRDoc::NormalClass00