diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-13 23:25:02 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-13 23:25:02 +0000 |
commit | 9aeddc553874ddfd9a2527e1e21127c2a323aaee (patch) | |
tree | 884509150b6aad1a10149d948731ac473054e1ae /railties/lib/commands | |
parent | 6b70c799f829f93fd8d0355af0e6488d2c1102ab (diff) | |
download | rails-9aeddc553874ddfd9a2527e1e21127c2a323aaee.tar.gz rails-9aeddc553874ddfd9a2527e1e21127c2a323aaee.tar.bz2 rails-9aeddc553874ddfd9a2527e1e21127c2a323aaee.zip |
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
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |