-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I am having trouble deploying my app to production. The gem checks if the table exists
(look at this line of code)
https://github.com/stevehodges/draftpunk/blob/master/lib/activerecord/setup_model.rb#L37
When run rake assets:precompile RAILS_ENV=production, I receive the error:
PG::ConnectionBad: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Looks like it's trying connecting to the database while compling.
Can I skip this table check and how it affects the code? Thank you in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels