Working with the official AWS S3 CLI, as well as tools like s5cmd I quickly realized they aren’t optimized for resource constrained systems, rather more towards uploading as fast as possible and in parallel. This is great for most use cases, but not when you want to minimize the impact on the system, like during frequent backup operations and on a system with half a gig of memory for example.
testerobly – lightweight automatic test runner
I’ve been running into issues, like intermittent crashes, with guard, which is a favorite amongst Rubyists, when it comes to automatically running unit tests on a file change. I’ve decided it would be a fun exercise to create my own tool, addressing my needs specifically:
Recent open source contributions in the Turbo ecosystem
I’ve been pushing Turbo hard the past couple of months. That resulted in running into some edge case scenarios, which have not yet been resolved in the library.
Configuring SSHKit in Automated Tests
MacOS Ventura firewall repeatedly asks to accept incoming connections when reinstalling a Ruby version with rbenv
On my Intel iMac on macOS Ventura 13.4 I ran into this annoying issue when reinstalling the same version of Ruby (3.2.2 for example) with rbenv. When running rails test:system the firewall’s “Accept incoming connections” dialog would pop every time, no matter whether you Denied or Allowed the connection to go through previously, making testing quite painful.
navigator.clipboard does not work under plain HTTP in latest Safari (on .test domains)
I just noticed that on the latest MacOS Ventura 13.3.1 with Safari 16.4, the navigator.clipboard API is not accessible under plain HTTP .test domains, used with puma-dev for example. It returns “property is undefined” type of error.
Solution: Some Mac OS Mail Favourites are grayed out and cannot be deleted
I encountered the issue of a grayed out folder that can’t be deleted, in MacOS Mail app today. The discussion on Apple’s forums does not provide any actionable answers. After a while I figured out a solution myself and it’s very simple:
How I run puma-dev alongside Rails’ bin/dev
The bin/dev script Ruby on Rails ships with, if you for example init the app with --css=tailwind or --css=bootstrap is great. It comes with auto-generated Procfile that will launch the web server and the Tailwind CSS (or other) preprocessors. In addition bin/dev will install the foreman gem if it does not exist on your system.
Contribution to Rails documentation
I got my first contribution to Rails codebase merged last week. It’s an improvement to documentation, that explains how to fully utilise parametric scopes.
Scaffolding in Rails 7 is amazing
I’m continuously being impressed by the productivity and ease of use enhancements Rails keeps making after all these years it has been around.