Skip to content
Browse files

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
  • Loading branch information...
1 parent 6b70c79 commit 9aeddc553874ddfd9a2527e1e21127c2a323aaee @jeremy jeremy committed Sep 13, 2006
Showing with 3 additions and 1 deletion.
  1. +2 −0 railties/CHANGELOG
  2. +1 −1 railties/lib/commands/server.rb
View
2 railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* script/server creates the tmp/pids directory. #6204 [jonathan]
+
* Fix script/console --sandbox for internal transactions changes. #5738 [chris@octopod.info, charles.gerungan@gmail.com]
* Remove the uncanny default of adding all app/models/*/ directories to the load path. This change will break application which expect the current behavior. As
View
2 railties/lib/commands/server.rb
@@ -35,5 +35,5 @@
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}"

0 comments on commit 9aeddc5

Please sign in to comment.
Something went wrong with that request. Please try again.