提交 aec5273f 编写于 作者: S Sam Stephenson

Use require_library_or_gem 'fcgi' in script/server

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 fa0a5973
*SVN*
* Use require_library_or_gem 'fcgi' in script/server [Sam Stephenson]
* Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH]
* New configuration option config.plugin_paths which may be a single path like the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. [Jeremy Kemper]
......
require 'active_support'
begin
require 'fcgi'
require_library_or_gem 'fcgi'
rescue Exception
# FCGI not available
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册