From 9aeddc553874ddfd9a2527e1e21127c2a323aaee Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 13 Sep 2006 23:25:02 +0000 Subject: script/server creates the tmp/pids directory. Closes #6204. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/commands/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib') diff --git a/railties/lib/commands/server.rb b/railties/lib/commands/server.rb index 94208f7575..23ad9de324 100644 --- a/railties/lib/commands/server.rb +++ b/railties/lib/commands/server.rb @@ -35,5 +35,5 @@ case server puts "=> Booting Mongrel (use 'script/server webrick' to force WEBrick)" end -['sessions', 'cache', 'sockets'].each { |dir_to_make| FileUtils.mkdir_p(File.join(RAILS_ROOT, 'tmp', dir_to_make)) } +%w(cache pids sessions sockets).each { |dir_to_make| FileUtils.mkdir_p(File.join(RAILS_ROOT, 'tmp', dir_to_make)) } require "commands/servers/#{server}" -- cgit v1.2.3