Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4426

Show
Ignore:
Timestamp:
06/03/06 22:22:50 (2 years ago)
Author:
david
Message:

Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/CHANGELOG

    r4394 r4426  
    11*SVN* 
     2 
     3* Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org] 
    24 
    35* Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck] 
  • trunk/railties/lib/commands/server.rb

    r4037 r4426  
    2727end 
    2828 
    29 FileUtils.mkdir_p(%w( tmp/sessions tmp/cache tmp/sockets )) 
     29['sessions', 'cache', 'sockets'].each { |dir_to_make| FileUtils.mkdir_p(File.join(RAILS_ROOT, 'tmp', dir_to_make)) } 
    3030require "commands/servers/#{server}"