Next.js Discord

Discord Forum

Ruby on Rails Backend and React Frontend does not deploy with error centered on 'pg' gemfile.

Unanswered
🌻nathan🌻 posted this in #help-forum
Open in Discord
Hi! I'm having some trouble deploying an app on Vercel. I've included the error logs - I've tried sudo apt install libpq-dev and gem install pg -- --with-pg-config=/path/to/pg_config. It looks like the libpq-fe.h header needs to be installed but not sure how to do this as well.

The app compiles okay in localhost, but not sure what's tripping it in Vercel. I'd appreciate any direction or advice! I can also post more code snippets if needed.

0 Replies