Question

I installed my rails-app via Passenger on my apache but I'm getting a strange error

cannot generate tempfile `/var/rails/wo42/tmp/cache/assets/sprockets%2Fb94bb762c37131f8bb65f843c621876720120401-29970-ha7f1p-9'


Extracted source (around line #24):

21:     <%= stylesheet_link_tag    "application" %>
22:     
23:     <!-- Included JS Files  -->
24:     <%= javascript_include_tag "application" %>
25:   
26:   <%= csrf_meta_tags %>
27: </head>

It seems to be something with the rights but I set /var/rails/wo42/tmp to chmod 777?

Was it helpful?

Solution

I just ran into this myself. Not sure if this will be a permanent fix, but here is what got me past it:

rake tmp:clear
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top