diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-26 10:56:36 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-26 10:56:36 -0500 |
commit | 5eeed9f00a3bd57134cfa0e6792cd8767619c132 (patch) | |
tree | 4bf900b647c5b5d1154aae79c333c615203b594c /railties/lib/rails/commands | |
parent | c83c0f693628baa644eb902ff70d719fe33e3787 (diff) | |
download | rails-5eeed9f00a3bd57134cfa0e6792cd8767619c132.tar.gz rails-5eeed9f00a3bd57134cfa0e6792cd8767619c132.tar.bz2 rails-5eeed9f00a3bd57134cfa0e6792cd8767619c132.zip |
Move tmp directory creation from server to initializer
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/server.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 25f5a8ada5..a600e1e9db 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -44,10 +44,6 @@ end puts "=> Booting #{ActiveSupport::Inflector.demodulize(server)}" puts "=> Rails #{Rails.version} application starting on http://#{options[:Host]}:#{options[:Port]}}" -%w(cache pids sessions sockets).each do |dir_to_make| - FileUtils.mkdir_p(File.join(RAILS_ROOT, 'tmp', dir_to_make)) -end - if options[:detach] Process.daemon pid = "#{RAILS_ROOT}/tmp/pids/server.pid" |