diff options
Diffstat (limited to 'railties/lib/commands/server.rb')
-rw-r--r-- | railties/lib/commands/server.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/railties/lib/commands/server.rb b/railties/lib/commands/server.rb index c9627439e8..82a3e1083f 100644 --- a/railties/lib/commands/server.rb +++ b/railties/lib/commands/server.rb @@ -1,4 +1,5 @@ require 'active_support' +require 'fileutils' begin require_library_or_gem 'fcgi' @@ -25,10 +26,5 @@ else puts "=> Booting lighttpd (use 'script/server webrick' to force WEBrick)" end -require_library_or_gem 'rake' -load File.join(File.dirname(__FILE__), "..", "tasks", "tmp.rake") -begin - Rake::Task['tmp:create'].execute -rescue Errno::EEXIST => e -end +FileUtils.mkdir_p(%w( tmp/sessions tmp/cache tmp/sockets )) require "commands/servers/#{server}" |