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

Ticket #5014 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Create directories inside tmp relative to RAILS_ROOT

Reported by: elliot@townx.org Assigned to: David
Priority: normal Milestone: 1.x
Component: Railties Version:
Severity: normal Keywords:
Cc:

Description

The default behaviour for the server.rb script is to create sockets, sessions and cache directories inside a tmp directory, inside the current working directory. This works fine if running script/server from RAILS_ROOT, but puts files all over the place when running this script from outside RAILS_ROOT. I suggest that RAILS_ROOT is explicitly used when generating these directories to ensure they end up inside the correct tmp directory.

Attachments

server.rb.diff (0.5 kB) - added by elliot@townx.org on 05/09/06 09:34:24.
Add RAILS_ROOT when generating tmp directories

Change History

05/09/06 09:34:24 changed by elliot@townx.org

  • attachment server.rb.diff added.

Add RAILS_ROOT when generating tmp directories

06/03/06 22:23:36 changed by david

  • status changed from new to closed.
  • resolution set to fixed.

Closed by [4426]