aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/server.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move content length to the server, this brings the same behavior as in rack 1.2.José Valim2011-05-231-0/+1
|
* Take into account the Rack::Server :SSLEnable option when building the ↵Daniel Martin2011-05-061-1/+2
| | | | application's URL
* reduce two method calls per request, 1 to method_missing and one to sendAaron Patterson2011-02-281-0/+4
|
* Allow a PID file to be specified to rails server [#5031 state:resolved]Sudara2010-07-081-0/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Note that 'rails server' allows specifying mongrel, thin, etc [#4845 ↵Trevor Turk2010-06-221-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added absolute path for config.ru as well. Turns out this is also needed to ↵Ryan Duryea2010-06-201-1/+2
| | | | | | | | fix the daemon issue under ruby 1.8.7 [#4531 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Pass rack the absolute path of server's pid fileRyan Duryea2010-06-201-1/+1
| | | | | | | | | When running as a daemon, rack will cd to "/" and paths relative to the root of the rails app aren't valid when rack is setting up. Because of this, "rails server -d" was failing silently when trying to write it's pid file Signed-off-by: José Valim <jose.valim@gmail.com>
* Create tmp directories if required before starting server [#3907 state:resolved]Ravinder Singh2010-03-311-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix server environment [#3877 status:resolved]Simo Niemelä2010-02-101-4/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add default values to output of 'rails server -h', hardcoded as Rack::Server ↵Prem Sichanugrist2010-02-101-3/+3
| | | | | | did since options doesn't have any data at the time of parsing arguments [#3910 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix 'rails server -h' double help banner. Correct its usage line. [#3874 ↵Henrik N2010-02-061-1/+4
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Default to sync instrumentation.José Valim2010-01-211-10/+1
|
* Fix an issue where log was not being tailed in the first request.José Valim2010-01-151-1/+14
|
* LogTailer should be invoked after all logs in threads were flushed.José Valim2010-01-151-5/+1
|
* Get everyone running on Rails.env and fix the broken environment settings ↵David Heinemeier Hansson2010-01-111-4/+3
| | | | for script/console and script/dbconsole
* script/server should init Rails by loading config.ruJoshua Peek2009-12-261-16/+4
| | | | Fixes "Rails 3.0 doesn't fucking work"
* Shift more responsibility from application class to its singleton instance. ↵Jeremy Kemper2009-12-231-5/+5
| | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration.
* Fix an ivar name conflict in Rails::ServerCarlhuda2009-12-021-5/+5
|
* Have script/* and Rakefile use the application objectCarlhuda2009-11-241-3/+16
|
* Refactor script/server into an object that inherits from Rack::ServerCarlhuda2009-11-231-59/+61
|
* Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; ↵Jeremy Kemper2009-11-191-3/+1
| | | | | | | | script/server working" Broke stuff. This reverts commit 520b8b59110dd130c89b317b6bd65d8644c7836f.
* Final steps toward clean rails "foo"; cd foo; gem bundle; script/server workingYehuda Katz + Carl Lerche2009-11-181-1/+3
|
* Make script/server work with correct application.rbYehuda Katz2009-11-161-1/+1
|
* Require action_dispatch, not action_controllerYehuda Katz2009-11-161-1/+1
|
* Get apps generated with working again.Carl Lerche2009-10-161-1/+1
|
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-2/+2
| | | | application's object root)
* Enable static asset server by defaultJoshua Peek2009-09-261-1/+0
|
* Move tmp directory creation from server to initializerJoshua Peek2009-09-261-4/+0
|
* Extract "parse_config" into ADJoshua Peek2009-09-251-13/+1
|
* Remove relative url configuration from script/serverJoshua Peek2009-09-251-15/+4
|
* Generate a config.ru stubJoshua Peek2009-09-251-13/+8
|
* Revert "Start Rails::Application object"Joshua Peek2009-09-251-2/+38
| | | | This reverts commit 4129449594ad3d8ff2f8fb4836104f25406a104f.
* Start Rails::Application objectYehuda Katz + Carl Lerche2009-09-251-38/+2
|
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+106