Forum: Typo No cache directory error?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C2cd4bca86c6f071401cd2ef321f30b6?d=identicon&s=25 Leslie Titze (Guest)
on 2006-03-13 03:22
(Received via mailing list)
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:in `expire_for'
#{RAILS_ROOT}/app/models/blog_sweeper.rb:5:in `after_save'
#{RAILS_ROOT}/app/controllers/admin/general_controller.rb:28:in `update'


I've searched for any mention of "./cache" but have so far drawn a
blank.


Thanks in advance,

Leslie
42b570f6f4312a872c2fc671e3ddc82b?d=identicon&s=25 Trejkaz (Guest)
on 2006-03-13 03:55
(Received via mailing list)
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
6451ee8093c9cedc94f6c813b4dde2c5?d=identicon&s=25 Kevin Ballard (Guest)
on 2006-03-13 03:58
(Received via mailing list)
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
9e42e831b264800254185ce5cf9908f3?d=identicon&s=25 Daejuan Jacobs (Guest)
on 2006-03-13 06:27
(Received via mailing list)
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 <trejkaz@trypticon.org> wrote:
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>


--
Man Wit Da Plan.
http://d-jacobs.com
This topic is locked and can not be replied to.