Skip to content
This repository
Browse code

Remove outdated section on web servers that didnt really tell you muc…

…h anyway
  • Loading branch information...
commit c9d156f0630b2aaeca7c253acf99bfe9e662c5bd 1 parent 2f398f2
David Heinemeier Hansson dhh authored

Showing 1 changed file with 1 addition and 26 deletions. Show diff stats Hide diff stats

  1. +1 26 railties/lib/rails/generators/rails/app/templates/README
27 railties/lib/rails/generators/rails/app/templates/README
@@ -29,7 +29,7 @@ link:files/vendor/rails/actionpack/README.html.
29 29 == Getting Started
30 30
31 31 1. At the command prompt, create a new Rails application:
32   - <tt>rails myapp</tt> (where <tt>myapp</tt> is the application name)
  32 + <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
33 33
34 34 2. Change directory to <tt>myapp</tt> and start the web server:
35 35 <tt>cd myapp; rails server</tt> (run with --help for options)
@@ -44,31 +44,6 @@ the following resources handy:
44 44 * Ruby on Rails Tutorial Book: http://www.railstutorial.org/
45 45
46 46
47   -== Web Servers
48   -
49   -By default, Rails will try to use Mongrel if it's installed when started with
50   -<tt>rails server</tt>, otherwise Rails will use WEBrick, the web server that
51   -ships with Ruby.
52   -
53   -Mongrel is a Ruby-based web server with a C component (which requires
54   -compilation) that is suitable for development. If you have Ruby Gems installed,
55   -getting up and running with mongrel is as easy as:
56   - <tt>sudo gem install mongrel</tt>.
57   -
58   -You can find more info at: http://mongrel.rubyforge.org
59   -
60   -You can alternatively run Rails applications with other Ruby web servers, e.g.,
61   -{Thin}[http://code.macournoyer.com/thin/], {Ebb}[http://ebb.rubyforge.org/], and
62   -Apache with {mod_rails}[http://www.modrails.com/]. However, <tt>rails server</tt>
63   -doesn't search for or start them.
64   -
65   -For production use, often a web/proxy server, e.g., {Apache}[http://apache.org],
66   -{Nginx}[http://nginx.net/], {LiteSpeed}[http://litespeedtech.com/],
67   -{Lighttpd}[http://www.lighttpd.net/], or {IIS}[http://www.iis.net/], is deployed
68   -as the front end server with the chosen Ruby web server running in the back end
69   -and receiving the proxied requests via one of several protocols (HTTP, CGI, FCGI).
70   -
71   -
72 47 == Debugging Rails
73 48
74 49 Sometimes your application goes wrong. Fortunately there are a lot of tools that

0 comments on commit c9d156f

Please sign in to comment.
Something went wrong with that request. Please try again.