From eb01d35109897162a48ff5219dcd97f35328168c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 4 Mar 2006 19:39:26 +0000 Subject: Added socket cleanup for lighttpd, both before and after [DHH] Added automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/commands/server.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/lib/commands/server.rb') diff --git a/railties/lib/commands/server.rb b/railties/lib/commands/server.rb index 310afba689..85e3a64d60 100644 --- a/railties/lib/commands/server.rb +++ b/railties/lib/commands/server.rb @@ -25,4 +25,5 @@ else puts "=> Booting lighttpd (use 'script/server webrick' to force WEBrick)" end +silence_stderr { `rake tmp:create` } require "commands/servers/#{server}" \ No newline at end of file -- cgit v1.2.3