-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errno::EACCES: Permission denied in Production #7
Comments
Yep. You need to make sure that when you run the If that helps you any, write back and we'll close this ticket. I'll put it on the list to add a better "directory not writable" exception for the next release. |
Oh, hmm, strange. I deploy with Capistrano and run But just to be clear, before I meant when someone requests an asset that doesn't actually exist... i.e. when someone requests something.js and something.js doesn't exist, Jammit is producing the EACCES... Why is Jammit trying to open/bundle a file that isn't even listed in assets.yml? |
Nice bug catch -- it's not actually trying to open the bundle. Jammit returns a 404 when you request an asset package that isn't defined. Unfortunately, the after filter is trying to cache that 404 page. I'll get it fixed, along with the better error message, for 0.3.1. |
Ah interesting. Thanks again! Also noticed a few more instances of RAILS_ENV in the code... I think it might become deprecated in future Rails releases. |
Jammit 0.3.1 is out. It includes an OutputNotWritable error for locked directories, the removal of the after_filter -- 404 pages won't be cached any more. And all remaining traces of RAILS_ENV have been cleaned up. Closing the ticket. |
Instead of getting 404s in production, I'm getting 500s due to Errno::EACCES.
etc...
Here is a backtrace:
Any thoughts?
The text was updated successfully, but these errors were encountered: