about summary refs log tree commit homepage
path: root/FAQ
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-18 14:07:54 -0700
committerEric Wong <normalperson@yhbt.net>2010-05-18 14:07:54 -0700
commitd266f4da075b4b972ee97589ac58ce1d08022f84 (patch)
treed6f071d702e7972b863c8676576e16555ef08581 /FAQ
parent48313f442f53dfdb4ba24bbb12fc91f5c47a24ec (diff)
downloadrainbows-d266f4da075b4b972ee97589ac58ce1d08022f84.tar.gz
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ14
1 files changed, 10 insertions, 4 deletions
diff --git a/FAQ b/FAQ
index c9b334d..ffe03a6 100644
--- a/FAQ
+++ b/FAQ
@@ -62,13 +62,19 @@ to ensure redirects go to "https://" URLs.
 
 === Is there a "rainbows_rails" command like there is "unicorn_rails"?
 
-Only if you write one and plan to support it.
+No.
 
 "unicorn_rails" was written primarily to support older versions of
-Rails.  Since \Rainbows! is designed for newer Rails, it can just use
-a "config.ru" file like other Rack frameworks and applications.
+Rails.  Since \Rainbows! is designed for newer applications based on
+Rack, it can just use a "config.ru" file like other Rack frameworks and
+applications.
 
-For Rails 2.3.x and later, the following config.ru will work for you:
+For Rails 3.x, you should already have a config.ru file and
+"rainbows(1)" will work out-of-the-box like "rackup(1)".  Rails 3
+will support RACK_ENV as set by "rainbows(1)", so you won't need
+to set RAILS_ENV.
+
+For Rails 2.3.x, the following config.ru will work for you:
 
   ENV["RAILS_ENV"] ||= ENV["RACK_ENV"]
   require "config/environment"