Skip to content
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

Permission errors on deploy #48

Open
brendon opened this issue Apr 9, 2021 · 0 comments
Open

Permission errors on deploy #48

brendon opened this issue Apr 9, 2021 · 0 comments

Comments

@brendon
Copy link

brendon commented Apr 9, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant