Jonah Dempcy
Joined
Activity
Posted in How to Deploy Rails to Render Discussion
If you don't add "free" to the render.yaml for postgres and the web service, it will go to starter plan and charge you money - just a heads up. That may be what you want, but if you're trying to use the free plan, make sure to update your render.yaml like so:
databases:
...
plan: free
services:
- type: web
...
plan: free
- type: redis
...
plan: free
Posted in How to Deploy Rails to Render Discussion
Just a side note that after adding Tailwind, I ran into the same error of missing the Linux package (I'm developing on macOS) until I re-ran:
bundle package --all-platforms
Posted in How to Deploy Rails to Render Discussion
After executing the following I was still running into failed deployments as above:
bundle lock --add-platform x86_64-darwin
bundle lock --add-platform x86_64-linux
This fixed it for me:
bundle package --all-platforms
Now deployment succeeded! Woohoo!
Posted in How to Deploy Rails to Render Discussion
Everything works up until the last step, where instead of a successful deploy, it fails again (despite adding the Linux platform) with:
Dec 30 01:18:45 PM RubyGems system software updated
Dec 30 01:18:46 PM ==> Running build command './bin/render-build.sh'...
Dec 30 01:18:47 PM Could not find nokogiri-1.13.10-x86_64-linux in cached gems or installed locally
Dec 30 01:18:47 PM ==> Build failed 😞