RSSAmplifier

Blog

Drifting Ruby

A collection of development related articles.

blog.driftingruby.comRSS feed ↗15 posts

Latest posts

"Choose Your Own Path"

Remember those "Choose Your Own Adventure" books? I loved those as a kid. For those who don't know what they are, they're adventure books that are not meant to be read from front to back. Instead, you read a page or two and then

asdf 0.16.x

Recently, there was an update to asdf which broke my install. I experienced this on macOS, Linux and WSL (which is basically Linux in Windows). This issue was due to asdf being rewritten in GoLang so a lot changed. For those who don't know what asdf is, you

Kamal 2.0 Issue with AWS ALB

I created a Github Issue on the Kamal Repo for visibility as this problem wasn't clear. There were definitely hints as to what the problem was, but it wasn't a straight forward solution. Well, actually, in hindsight, it did seem pretty logical. However, at the time

Ollama Context Window

Ollama is a versatile tool that I’ve been using for several months to handle various tasks. It's easy to install and easy to use. Initially, I applied it to smaller projects, but recently, I’ve been leveraging it for more complex tasks that involve larger

My Development Environment on macOS 15 Sequoia

Each year, I attempt to refresh my system by installing the latest version of macOS, often beginning with a beta release. Nevertheless, I've no longer update my primary computer to the latest beta versions due to certain software lagging behind and requiring updates before compatibility is ensured. Specifically,

Rails 7.2 Upgrade Problems (of my own making)

I maintain several Ruby on Rails applications. Most of these are personal projects that I've built to make managing my daily life a bit easier. These projects range from small to much larger in scale. I'm a big fan of keeping these projects up to date

Self Hosted Github Actions Runner

The spark of this blog post came from a  tweet  from DHH about the default Rails 8 having a Github Actions workflow. Github Actions is a great tool for automating your workflows. It's built into Github and is free for public repositories. However, if you have

Using Ansible to Update Kamal Servers

I've been using Kamal recently and it's been a great experience. It takes a lot of the headaches out of having to wait for a deployment to finish. Previously, I was hosting  Drifting Ruby  on AWS with Elastic Beanstalk. This was a great solution

Using SQLite in Production

So there is a recent push on using SQLite in production, but there's also little talks around the pros and cons of doing so. This article will try to cover the pros and cons of using SQLite in production. To start, there's some value in asking

Running Meilisearch

MeiliSearch is a powerful, fast, and easy-to-use search engine, perfect for developers who want to implement search functionality into their applications. In this blog post, we will walk you through the process of deploying MeiliSearch with SSL encryption using Docker Compose and Nginx as a reverse proxy. This setup ensures

Ruby 3.2.1 with YJIT

I've been using Ruby 3.2.1 + YJIT for some time now and overall, I'm seeing anywhere from 10-20% performance improvements over running Ruby 3.0.5. Sorry, I don't have an apple-to-apple comparison for just YJIT vs non-YJIT. However, the performance improvements are

Pushing Code to Multiple Repositories with Git

Have you ever found yourself needing to publish your code to multiple repositories? Perhaps you have a static site hosted on Github Pages and want to have multiple domains point to it. Or maybe you manage multiple technology-related blogs and need to consolidate your content into a single blog, while

Docker Builds are slow on M1

This is a neat Docker trick for those who have an ARM development machine (Apple M1), but sometimes need to build x86/amd64 images locally to push up to a registry. Sure, having a CI/CD platform to do this is probably ideal, but for little programs or just sometimes

Transferring Files

Sometimes we get into situations where we need to remotely transfer a file. This file could be large or it could be tiny. This file may be sensitive or could be of little importance. Regardless, sending this file over to a remote location could still have its challenges. What if

Let's Encrypt Wildcard Cert

I'm writing this more as documentation for myself as I have several domains which I often use as playgrounds for certain things. This could be a kubernetes environment or a docker cluster where I have several applications deployed, but don't want to set up an nginx