diff options
Diffstat (limited to 'railties/lib/commands/servers/lighttpd.rb')
-rw-r--r-- | railties/lib/commands/servers/lighttpd.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/railties/lib/commands/servers/lighttpd.rb b/railties/lib/commands/servers/lighttpd.rb index df6ad663f9..488c7d61c4 100644 --- a/railties/lib/commands/servers/lighttpd.rb +++ b/railties/lib/commands/servers/lighttpd.rb @@ -1,7 +1,10 @@ -require 'active_support' - unless RUBY_PLATFORM !~ /mswin/ && !silence_stderr { `lighttpd -version` }.blank? - puts "lighttpd is not available on your system (or not in your path)" + puts "PROBLEM: Lighttpd is not available on your system (or not in your path)" + exit 1 +end + +unless defined?(FCGI) + puts "PROBLEM: Lighttpd requires that the FCGI Ruby bindings are installed on the system" exit 1 end |