Skip to content

Permission errors on deploy #48

@brendon

Description

@brendon

This gem seems to want to write files to its own gem directory. Is this normal? In production I get the following error and the Rails application won't boot:

Could not spawn process for application /var/www/spikeatschool/current: The application encountered the following error: Permission denied @ rb_sysopen - /var/www/xxxxxxxxxxxx/shared/bundle/ruby/2.6.0/gems/city-state-0.1.0/lib/db/states.nz (Errno::EACCES)

Is there a way to not have city-state write these files? Perhaps just load them into memory instead?

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