Build crashes Rails with Postgres connection error
yuanworks
FREEOP
6 months ago
After following the instructions here (https://docs.railway.com/guides/rails) I get the following error when deploying the Rails application.
I did set the DATABASE_URL as well as created a Postgres database on the GUI. I can see all tables created by rails inside the postgres application
ActiveRecord::ConnectionNotEstablished: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory (ActiveRecord::ConnectionNotEstablished)Thank you!
1 Replies
Railway
BOT
6 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Deployment crashed due to server connection not established (postgresql)
🧵 Issue running rake or seeds file from Rails to connected Postgres
If you find the answer from one of these, please let us know by solving the thread!