Check out my latest project PullPreview - Deployment previews for your pull requests, on servers you control

Packaging Rails applications for Linux

From bare code to deployed app in 5 minutes.

This is a lightning talk given at Euruko2021 on May 29th 2021.

Abstract:

Ruby and Rails applications are notoriously difficult to package in the native formats (.deb, .rpm) used by the main Linux distributions.

Although Docker has allowed to ship applications almost anywhere, native packages remain relevant in constrained environments (banks, etc.), or when distributing an app or CLI to end users that may not have or want to use Docker.

In this presentation you'll learn how to package a Rails application for the main Linux distributions available. You'll also learn how to host the resulting packages, and apply the same recipe to package a Ruby CLI that can be shipped to users.

Slides Video