diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-11-22 14:10:50 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-11-22 14:10:50 -0600 |
commit | 40c6a8b9701f4e137799cecfc72c64aca7b4004b (patch) | |
tree | eeed5312c23d9f7d194fb887598ba53fa14d8100 /railties/lib/commands/server.rb | |
parent | 0ecf2f6bdb7423516a18f45a65e1301cf8cd9c7d (diff) | |
download | rails-40c6a8b9701f4e137799cecfc72c64aca7b4004b.tar.gz rails-40c6a8b9701f4e137799cecfc72c64aca7b4004b.tar.bz2 rails-40c6a8b9701f4e137799cecfc72c64aca7b4004b.zip |
Drop lighttpd support from script/server
Diffstat (limited to 'railties/lib/commands/server.rb')
-rw-r--r-- | railties/lib/commands/server.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/railties/lib/commands/server.rb b/railties/lib/commands/server.rb index 54628d8bb1..1d33d7afba 100644 --- a/railties/lib/commands/server.rb +++ b/railties/lib/commands/server.rb @@ -20,15 +20,13 @@ rescue Exception end server = case ARGV.first - when "lighttpd", "mongrel", "webrick", "thin" + when "mongrel", "webrick", "thin" ARGV.shift else if defined?(Mongrel) "mongrel" elsif defined?(Thin) "thin" - elsif RUBY_PLATFORM !~ /(:?mswin|mingw)/ && !silence_stderr { `lighttpd -version` }.blank? && defined?(FCGI) - "lighttpd" else "webrick" end @@ -37,8 +35,6 @@ end case server when "webrick" puts "=> Booting WEBrick..." - when "lighttpd" - puts "=> Booting lighttpd (use 'script/server webrick' to force WEBrick)" when "mongrel" puts "=> Booting Mongrel (use 'script/server webrick' to force WEBrick)" when "thin" |