When an 'Unused' Redis Configuration Slowed Down a Deployment

A while back, I was migrating a Rails eCommerce application to a new server. The migration itself was pretty straightforward. I provisioned the new server, copied over the deployment configuration, and started bringing the application online. One thing I hadn’t set up yet was Redis. Since I wasn’t planning on using caching immediately, I figured I could leave it for later. As part of that, I removed the REDIS_CACHE_URL environment variable from the deployment configuration. ...

February 18, 2026 · Mausam Pun

Automating Tailwind Builds with Kamal Post-Deploy Hooks

I was recently working on a small Sinatra application that used Tailwind CSS for a few internal pages. The application itself was deployed using Kamal, and the deployment process was pretty smooth. The only annoying part was that after every deployment, I had to SSH into the server and run: bundle exec rake tailwind:build It isn’t a difficult command to run. The problem is remembering to run it. After forgetting a couple of times and wondering why my UI changes weren’t showing up, I figured this was exactly the kind of repetitive task that should be automated. ...

January 5, 2026 · Mausam Pun