When using Ruby’s SSHKit gem in your application, you might want to test code that uses it. Most likely, you don’t want to connect to real servers when automated tests are run. Luckily SSHKit includes a backend just for that, called Printer.
Category: Programming
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.
Who is this feature for?
In software development, when thinking about and designing new features, or trying to solve existing issues, it’s important to, early, ask the question: Who is this feature for?
Bash: Underscore a String
I find it weird that I did not find a ready made script for this immediately through a google search. So this is what I arrived at after some digging:
Automate everything
To automate everything, even the smallest things (scripts), is a lesson I continuously learn while doing programming.
Recent projects
A few days ago I’ve launched a new website for the Equal Money System project. The project is about a complete social and economic change, worldwide.