deploy

Deploy Ruby/Rails/Grape applications to production with Docker and Kamal.

7|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/slbug/claude-ruby-grape-rails --skill deploy-slbug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/slbug/claude-ruby-grape-rails/tree/main/plugins/ruby-grape-rails/skills/deploy
Command: npx skills add https://github.com/slbug/claude-ruby-grape-rails --skill deploy-slbug

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deploying Ruby/Rails/Grape applications involves configuring Docker, Kamal, Thruster, Solid Queue/Cache/Cable, and environment variables, which can be error‑prone and time‑consuming. This skill consolidates best‑practice guidance to simplify and standardize the process.

Core Features & Use Cases

  • Architecture overview with Load Balancer, Thruster, Puma, Solid Trifecta, and database layers.
  • Solid Trifecta setup for Queue, Cache, and Cable using solid_queue, solid_cache, solid_cable.
  • Thruster HTTP/2 proxy installation and configuration.
  • Kamal 2 zero‑downtime Docker deployment configuration and command reference.
  • Multi‑stage Dockerfile templates for building and running the app.
  • Migration and asset precompilation guidelines and safe migration strategies.
  • Health check implementations for Docker, Kubernetes, and Docker Compose.
  • Cloud platform guides for Heroku, AWS ECS, Fly.io, and Kubernetes with example manifests.
  • Checklist to ensure environment variables, secrets, assets, and monitoring are ready before release.

Quick Start

Use the deploy skill to generate a production‑ready Dockerfile and Kamal configuration for your Rails application.

Frequently Asked Questions about deploy

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

FAQPage Schema
How do I deploy a Rails application using Docker and Kamal?

To deploy a Rails application with Docker and Kamal, you need a multi-stage Dockerfile and Kamal 2 configuration. This generates zero-downtime deployment scripts, Thruster HTTP/2 proxy settings, and Puma server configurations for production environments.

What is the Solid Trifecta in Rails and how do I configure it for deployment?

The Solid Trifecta uses solid_queue, solid_cache, and solid_cable to replace Redis in Rails deployments. Configuration involves setting up database-backed Queue, Cache, and Cable layers within your Docker container architecture instead of external dependencies.

Can I use Kamal to deploy Ruby Grape apps to AWS ECS or Kubernetes?

Yes, Kamal deploys Ruby and Grape apps to AWS ECS, Kubernetes, Heroku, and Fly.io. The deployment generates appropriate cloud platform manifests, health checks, and environment variable configurations specific to your chosen infrastructure.

How do I handle database migrations and asset precompilation in Docker deployments?

Docker deployments handle database migrations and asset precompilation through multi-stage Dockerfile templates and safe migration strategies. This ensures environment variables, secrets, and assets are verified via a pre-release checklist before deployment.

What's the best way to configure Thruster HTTP/2 proxy with Puma for Rails?

Configuring Thruster HTTP/2 proxy with Puma involves installing Thruster and integrating it as the front-facing proxy. This architecture pairs Thruster with Puma and the Solid Trifecta behind a load balancer for optimized Rails request handling.

Do I need a specific Dockerfile structure for Kamal 2 zero-downtime deployments?

Yes, Kamal 2 zero-downtime deployments require multi-stage Dockerfile templates for building and running the app. You also need appropriate health check implementations and environment variable definitions to ensure safe release transitions.