* [RFC] doc: unicorn_rails: clarify that it is intended for rails <= 2.x
@ 2019-04-15 6:52 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2019-04-15 6:52 UTC (permalink / raw)
To: unicorn-public
Hopefully the wording is a little more explicit and clearer
by stating its purpose in the first line of the description.
---
Grammar/wording awkwardness review/comments greatly appreciated,
haven't used English or Ruby much, lately.
Documentation/unicorn_rails.1.txt | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/Documentation/unicorn_rails.1.txt b/Documentation/unicorn_rails.1.txt
index fb0e60f..0ce9bcf 100644
--- a/Documentation/unicorn_rails.1.txt
+++ b/Documentation/unicorn_rails.1.txt
@@ -12,14 +12,12 @@ unicorn_rails [-c CONFIG_FILE] [-E RAILS_ENV] [-D] [RACKUP_FILE]
# DESCRIPTION
-A rackup(1)-like command to launch Rails applications using Unicorn. It
-is expected to be started in your Rails application root (RAILS_ROOT),
-but the "working_directory" directive may be used in the CONFIG_FILE.
+A rackup(1)-like command to launch ancient Rails (2.x and earlier)
+applications using Unicorn. Rails 3 (and later) support Rack natively,
+so users are encouraged to use unicorn(1) instead of unicorn_rails(1).
-It is designed to help Rails 1.x and 2.y users transition to Rack, but
-it is NOT needed for Rails 3 applications. Rails 3 users are encouraged
-to use unicorn(1) instead of unicorn_rails(1). Users of Rails 1.x/2.y
-may also use unicorn(1) instead of unicorn_rails(1).
+It is expected to be started in your Rails application root (RAILS_ROOT),
+but the "working_directory" directive may be used in the CONFIG_FILE.
The outward interface resembles rackup(1), the internals and default
middleware loading is designed like the `script/server` command
--
EW
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-04-15 6:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-15 6:52 [RFC] doc: unicorn_rails: clarify that it is intended for rails <= 2.x Eric Wong
unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://yhbt.net/unicorn-public
git clone --mirror http://ou63pmih66umazou.onion/unicorn-public
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 unicorn-public unicorn-public/ https://yhbt.net/unicorn-public \
unicorn-public@yhbt.net unicorn-public@bogomips.org mongrel-unicorn@rubyforge.org mongrel-unicorn-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
public-inbox-index unicorn-public
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.public-inbox.org/inbox.comp.lang.ruby.unicorn
nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.unicorn
note: .onion URLs require Tor: https://www.torproject.org/
code repositories for project(s) associated with this inbox:
../../../unicorn.git
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git