I use the Gemini web chat interface quite extensively. One thing that is tedious is giving it all the context...

Knapsack allows you to rerun a specific job locally. This is helpful to run specs in the exactly same order...

If you use the selenium-webdriver gem, it will sneakily phone home once every hour whenever you run a browser...

makandra dev

Most of our CI pipelines don't use the --retry flag for Cucumber and instead build their own retry via...

Short reference on how to quickly debug the vanilla Rails job adapters. Queue Adapters by Environment Environment Adapter

Mise manages Ruby, Node.js and pnpm versions. It replaces tools like rbenv and nvm. Mise can install precompiled Ruby binaries...

In Rails 8 the behavior of the rails db:migrate command has changed for fresh databases (see PR #52830).

I had to modify the time for an application that I launch through Docker. Here is an approach that worked...

makandra dev

Rails log files rotate automatically when they reach approx. 100MB: $ ls -lh log/ -rw-r--r-- 1 user group 55M...

Currently we often use geordi to run cucumber and rspec tests. Geordi takes care of installing a matching chromedriver for...

Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).

You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...

Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...

Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...

Ubuntu 24 added some guarding for Python packages which no longer allows installing applications through pip on system level. Instead...

Here is a bash script that I use to auto-configure displays on Ubuntu 24.04 with Xorg. Background

makandra dev

YJIT is Ruby's default just-in-time compiler. It is considered production-ready since Ruby 3.2 (source).

Git has the concept of hooks: bash scripts that are invoked at certain points in the Git lifecycle. One handy...

I noticed that tig 2.5.1 that is provided by Ubuntu 22.04 repositories has inferior bash completion than older versions after...

On our Ubuntu machines we have nautilus file manager with nautilus-extension-gnome-terminal installed. This adds an entry to...

Recently I needed to benchmark an Active Record query for performance measurements. I wrote a small script that runs each...

With this command you can run all the spec files which have been edited or added in the current branch...

Some rubygems come in platform-specific versions (i.e. "x86_64-linux") in addition to the usual "ruby" platform. This is...

I used two lab days to read the The framework field guide - Fundamentals, the first of a three part series...