[Rails] script/server lighttpd on Windows

Wilson Bilkovich
Wed, 26 Apr 2006 18:00:50 -0000

On 4/26/06, Alex Wayne <rubyonrails@beautifulpixel.com>
wrote:
> Has anyone been able to get script/server to successfully use lighttpd
> on a Windows box?  When I try to start the server I get:
>
> PROBLEM: Lighttpd is not available on your system (or not in your path)
>
> So then I add "C:\lighttpd\sbin" to the path for the console
session,
> and it still fails with the same error.
>
> If anyone has some success with this I sure would like to know.  Webrick
> is slow and single threaded, neither of which are working for me.
>

The lighttpd server script has this code in it:
unless RUBY_PLATFORM !~ /mswin/ && !silence_stderr { `lighttpd
-version` }.blank?
  puts "PROBLEM: Lighttpd is not available on your system (or not in your
path)"
  exit 1
end

..which means it will always fail on Win32.

Have you tried Mongrel? It''s very fast, and very well-supported on
Windows.