rails-deploy

Automate Rails production deployment with Kamal 2 and Docker.

Updated Jun 13, 2026
One-click install
npx skills add https://github.com/jcuervo/rails-skills --skill rails-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rails-deploy
Source: https://github.com/jcuervo/rails-skills/tree/main/rails-deploy
Command: npx skills add https://github.com/jcuervo/rails-skills --skill rails-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kamal, docker, sentry-ruby, sentry-rails, lograge, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the deployment of a Rails 8.1 app to production, including zero-downtime deployment, CI/CD, secret injection, and observability features.

Core Features & Use Cases

  • Zero-Downtime Deployment: Ensures continuous application availability during updates.
  • CI/CD Integration: Automates testing and deployment in a CI/CD pipeline.
  • Secrets Management: Injects secrets like credentials securely during deployment.
  • Observability: Monitors structured logs, error tracking, metrics, and uptime.
  • Use Case: Deploy a new version of your Rails app to production while ensuring no service interruption and having insights into application performance.

Quick Start

Use the 'rails-deploy' skill to deploy your Rails app to production with zero-downtime and observability features.

Frequently Asked Questions about rails-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Rails deployment to production with zero downtime?

Automating Rails deployment with zero downtime requires using Kamal 2 and Docker to roll out new application versions without dropping active connections. This approach ensures continuous application availability during updates by replacing containers seamlessly.

What is the best way to add observability and error tracking to a Rails app?

Adding observability to a Rails app involves integrating Sentry-Rails for error tracking and Lograge for structured logs. This combination provides insights into application performance, metrics, and uptime in production.

Does this zero-downtime deployment approach work with Rails 8.1?

Yes, this zero-downtime deployment approach is designed for Rails 8.1 applications. It specifically targets Ruby on Rails apps requiring production deployment with secure secret injection and monitoring capabilities.

How do I manage secrets and credentials securely during a Rails CI/CD deployment?

Managing secrets during Rails CI/CD deployment requires securely injecting credentials into the production environment. This deployment automation handles secret management directly within the pipeline to prevent exposing sensitive data.

Do I need Docker and Kamal 2 to set up Rails CI/CD and monitoring?

Yes, you need Docker and Kamal 2 to set up this Rails CI/CD and monitoring workflow. These dependencies are required to containerize the application and orchestrate the zero-downtime production deployment.