Skip to content

How to configure "where" server side rendering tries to generate files #382

@rstudner

Description

@rstudner

So, I got a server side render would great on my dev box (woo hoo!)

I went ahead and pushed this to another environment and it fails.

The error is:

Showing /opt/web/apps/portal/app/views/investigations/_investigation_header.pdf.erb where line #7 raised:

Permission denied @ dir_s_mkdir - /opt/web/apps/portal/tmp/cache/assets/dev

Is it possible to configure the gem to not use this folder (this is it obviously deriving somehow) but instead use say /var/storage or any other location?

(the folder didn't even exist, in the first place -- but the entire tree is owned by root etc, and would love to simply write/read from a different location)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions