3 ms·
Does it cover minimum viable Rails deployments? I want to know how to push only pre-configured dependencies without Docker. So no build tools in production, ju
by password4321 5y ago
Does it cover minimum viable Rails deployments?
I want to know how to push only pre-configured dependencies without Docker. So no build tools in production, just pre-built binaries. (Specifically not building gems on the production server.)
- strzibny 5y agoI cover what most people do which is either using build tools on a production server or building containers without them. I understand where you are coming from, but I don't talk _specifically_ about this. Basically you need to build your .so files beforehand and then copy them over. If you use the same system as your target you can just copy gems' files around. A good approach (which we did at Red Hat) is to repackage gems as RPMs and then install them as other system packages. But it's a lot of work. Fedora has a whole default Rails stack packaged, though.