Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
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.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the lightning talk titled "Shipping Ruby and Rails apps as native Linux packages," Cyril Rohr discusses the challenges of packaging Ruby on Rails applications for native Linux distributions, such as .deb and .rpm formats. The talk emphasizes the relevance of native packages despite the popularity of containerization technologies like Docker, particularly in environments with constraints, such as banks and traditional enterprises. The key areas covered in this presentation include: - **Advantages of Native Packaging**: Native packages are significantly smaller than Docker images, require fewer resources for transfer, and allow reliance on system dependencies. They integrate well with configuration management tools, making them attractive for both developers and end-users accustomed to package installations. - **Introducing Packager**: Cyril introduces the open-source tool "Packager," which automates the process of creating native packages from various programming languages, including Ruby. It detects the language of the application using Heroku buildpacks and generates either a Debian or RPM package based on the target distribution. - **Package Creation Process**: The demonstration involves building a Rails application package using Packager. Cyril details the steps involved—from building the package using the Packager Docker image, to deploying it on a server, and running installation commands. The entire process, including environment setup and configuration, can be completed rapidly, showcasing the efficiency of utilizing Packager. - **Deployment and Configuration**: Cyril demonstrates how to provision a new server, transfer the generated Debian package, and install it using system package management commands. The built-in CLI tools provided by Packager simplify tasks such as setting environment variables, scaling processes, and running database migrations or seeds, showcasing a streamlined development and deployment experience. - **Conclusion and Takeaways**: Cyril summarizes the features of Packager, highlighting its support for various Linux distributions and the potential for automation in package publishing. The ease of generating, deploying, and managing Ruby on Rails applications using native packages reinforces the tool’s practicality for developers looking for a straightforward solution without relying on Docker. For further learning, resources and documentation are available online, encouraging developers to explore Packager for their packaging needs. The talk closes with an invitation for questions and shares contact information for further engagement, promoting an ongoing dialogue with the audience.
Suggest modifications
Cancel