No cache directory error?

Could anyone point me to a solution for this?

I’m trying to start over again using trunk rails and have proceeded as
usual (for 2.6.0 and earlier) but when I get to the admin interface and
press the “Save My Settings” button, I get the following error:

Errno::ENOENT in Admin/general#update
No such file or directory - ./cache

RAILS_ROOT: .
Application Trace | Framework Trace | Full Trace
/opt/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/caching.rb:448:in
open' <snip>... #{RAILS_ROOT}/app/models/blog_sweeper.rb:16:inexpire_for’
#{RAILS_ROOT}/app/models/blog_sweeper.rb:5:in after_save' #{RAILS_ROOT}/app/controllers/admin/general_controller.rb:28:inupdate’

I’ve searched for any mention of “./cache” but have so far drawn a
blank.

Thanks in advance,

Leslie

Leslie Titze wrote:

Could anyone point me to a solution for this?

As you might expect, creating the “cache” directory inside the Rails
root solves this (perhaps Typo could add the cache directory to the
repository so that people don’t have to think when doing an install.)

TX

Sounds like the Typo process doesn’t have permissions to create a
cache directory in the root of Typo. You should either create the
directory or give the Typo process permission to do so.

Oh, and edge rails doesn’t work with Typo right now. Stick with Rails
1.0

The cache is physically in the repo, but it’s set to “ignore”. Simply
creating the “cache” directory and making it writable during the
intial install will suffice.

On 3/12/06, Trejkaz [email protected] wrote:

Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list


Man Wit Da Plan.
http://d-jacobs.com