I am all new to deploying rail applications. I have managed to get a local version of Radiant transfer and working briefly on my VPS. It stopped working, I figure, when the page caching kicked in. Looking at the production.log, I found this error: Errno::EACCES (Permission denied - /var/www/apps/myrailsproject/current/config/../cache/index.yml): /vendor/rails/actionpack/lib/action_controller/caching.rb:89:in `initialize' /vendor/rails/actionpack/lib/action_controller/caching.rb:89:in `cache_page' (...shorten here for brevity...) Looking at the install instructions, I found this set of instructions: When using Radiant on a production system you may also need to set permissions on the public and cache directories so that your Web server can access those directories with the user that it runs under. Could someone please explain in detail how I can setup the require permissions?
on 2007-07-14 11:08
on 2007-07-14 20:27
> Could someone please explain in detail how I can setup the require permissions? That's totally platform and configuration dependent. You can try a "chmod a+rw public/ cache/" as root. For more info, start with: http://www.google.com/search?hl=en&q=unix+file+per... And follow with: http://www.fifi.org/cgi-bin/man2html/usr/share/man... http://www.fifi.org/cgi-bin/man2html/usr/share/man... /AITOR
on 2007-07-15 14:19
Thanks Aitor, your suggestion got me started. The actual command that fix my situation was this: chmod -R a+rw cache