Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More helpful message when starting server | Gabe Kopley | 2013-03-18 | 1 | -1/+1 |
| | | | | v2 of pull request based on feedback from @rafaelfranca, @schneems, and @carlosantoniodasilva | ||||
* | config.ru uses the effective Rack app | Yves Senn | 2013-03-15 | 1 | -0/+1 |
| | | | | | | | | | | We used to pass the Rails::Application subclass to #run. The Rails server then called #to_app to convert that class to the actual Rack application. if you surround `#run` with a call to `#map` the server no longer convertes the class to the instance and we end up with unnecessary delegation calls on every request. | ||||
* | Stop calling "super" twice in Rails::Server#app | Carlos Antonio da Silva | 2013-03-12 | 1 | -1/+4 |
| | | | | Cache the value of "super" in a variable and use it instead. | ||||
* | Add ENV['RACK_ENV'] support to rake runner/console/server. | kennyj | 2012-12-06 | 1 | -1/+1 |
| | |||||
* | copy the log level from the config settings | Aaron Patterson | 2012-11-09 | 1 | -0/+1 |
| | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -7/+7 |
| | |||||
* | add Rack::Lock for webrick | Aaron Patterson | 2012-08-21 | 1 | -0/+9 |
| | |||||
* | Remove support for rails server RAILS_ENV=env-name | Sam Oliver | 2012-05-30 | 1 | -5/+0 |
| | |||||
* | use File.join rather than depend on Pathname | Aaron Patterson | 2012-05-23 | 1 | -1/+1 |
| | |||||
* | and one more time | Aditya Sanghi | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | stamp out ruby-debug19 with extreme prejudice :) | Aditya Sanghi | 2012-04-17 | 1 | -1/+1 |
| | |||||
* | fix rails server support of RAILS_ENV variable | schneems | 2012-03-20 | 1 | -0/+5 |
| | | | | | | | When launching rails server from the command line with a rails environment specified such as `rails server RAILS_ENV=production` an error would occur since rails will try to use `RAILS_ENV=production` as it's server. When launching rails with a specified server such as thin `rails server thin RAILS_ENV=production` no error will be thrown, but rails will not start up in the specified environment. This fixes both of those cases | ||||
* | allow people to specify custom formatters, use the default formatter in ↵ | Aaron Patterson | 2012-03-12 | 1 | -0/+2 |
| | | | | production so that PID and timestamp are logged. fixes #5388 | ||||
* | broadcasting to the console and remove file tailing middleware | Aaron Patterson | 2012-01-20 | 1 | -1/+7 |
| | |||||
* | do not do reverse lookups on incoming requests for webrick. fixes #4542 | Aaron Patterson | 2012-01-19 | 1 | -0/+1 |
| | |||||
* | Use toplevel Rack::ContentLength | Jeremy Kemper | 2011-10-19 | 1 | -1/+1 |
| | |||||
* | Use again Rack's ContentLength middleware part 2 | Santiago Pastorino | 2011-10-18 | 1 | -0/+1 |
| | |||||
* | Use again Rack's ContentLength middleware | Santiago Pastorino | 2011-10-18 | 1 | -1/+0 |
| | |||||
* | Fixing Rails::Server#app under Rack::URLMap | Guillermo Iguaran | 2011-06-07 | 1 | -1/+1 |
| | |||||
* | Move content length to the server, this brings the same behavior as in rack 1.2. | José Valim | 2011-05-23 | 1 | -0/+1 |
| | |||||
* | Take into account the Rack::Server :SSLEnable option when building the ↵ | Daniel Martin | 2011-05-06 | 1 | -1/+2 |
| | | | | application's URL | ||||
* | reduce two method calls per request, 1 to method_missing and one to send | Aaron Patterson | 2011-02-28 | 1 | -0/+4 |
| | |||||
* | Allow a PID file to be specified to rails server [#5031 state:resolved] | Sudara | 2010-07-08 | 1 | -0/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Note that 'rails server' allows specifying mongrel, thin, etc [#4845 ↵ | Trevor Turk | 2010-06-22 | 1 | -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 Duryea | 2010-06-20 | 1 | -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 file | Ryan Duryea | 2010-06-20 | 1 | -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 Singh | 2010-03-31 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix server environment [#3877 status:resolved] | Simo Niemelä | 2010-02-10 | 1 | -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 Sichanugrist | 2010-02-10 | 1 | -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 N | 2010-02-06 | 1 | -1/+4 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -10/+1 |
| | |||||
* | Fix an issue where log was not being tailed in the first request. | José Valim | 2010-01-15 | 1 | -1/+14 |
| | |||||
* | LogTailer should be invoked after all logs in threads were flushed. | José Valim | 2010-01-15 | 1 | -5/+1 |
| | |||||
* | Get everyone running on Rails.env and fix the broken environment settings ↵ | David Heinemeier Hansson | 2010-01-11 | 1 | -4/+3 |
| | | | | for script/console and script/dbconsole | ||||
* | script/server should init Rails by loading config.ru | Joshua Peek | 2009-12-26 | 1 | -16/+4 |
| | | | | Fixes "Rails 3.0 doesn't fucking work" | ||||
* | Shift more responsibility from application class to its singleton instance. ↵ | Jeremy Kemper | 2009-12-23 | 1 | -5/+5 |
| | | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration. | ||||
* | Fix an ivar name conflict in Rails::Server | Carlhuda | 2009-12-02 | 1 | -5/+5 |
| | |||||
* | Have script/* and Rakefile use the application object | Carlhuda | 2009-11-24 | 1 | -3/+16 |
| | |||||
* | Refactor script/server into an object that inherits from Rack::Server | Carlhuda | 2009-11-23 | 1 | -59/+61 |
| | |||||
* | Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; ↵ | Jeremy Kemper | 2009-11-19 | 1 | -3/+1 |
| | | | | | | | | script/server working" Broke stuff. This reverts commit 520b8b59110dd130c89b317b6bd65d8644c7836f. | ||||
* | Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working | Yehuda Katz + Carl Lerche | 2009-11-18 | 1 | -1/+3 |
| | |||||
* | Make script/server work with correct application.rb | Yehuda Katz | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Require action_dispatch, not action_controller | Yehuda Katz | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Get apps generated with working again. | Carl Lerche | 2009-10-16 | 1 | -1/+1 |
| | |||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -2/+2 |
| | | | | application's object root) | ||||
* | Enable static asset server by default | Joshua Peek | 2009-09-26 | 1 | -1/+0 |
| | |||||
* | Move tmp directory creation from server to initializer | Joshua Peek | 2009-09-26 | 1 | -4/+0 |
| | |||||
* | Extract "parse_config" into AD | Joshua Peek | 2009-09-25 | 1 | -13/+1 |
| | |||||
* | Remove relative url configuration from script/server | Joshua Peek | 2009-09-25 | 1 | -15/+4 |
| | |||||
* | Generate a config.ru stub | Joshua Peek | 2009-09-25 | 1 | -13/+8 |
| |