Right, so a macOS application has a ‘Help’ menu by default, but unless the developer does some complicated and poorly documented stuff, there isn’t any help. Now, I’ve found a swell tool, Middlemac, that helps make the process much simpler. However, it doesn’t work with Ruby 3, because stuff in the past. Nowadays, middleman does actually work with Ruby 3, so maybe Middlemac could be made to?
Well. I’ve managed to get fast_trie to compile, so that’s part of the process done. I’ve also pulled the source for middlemac and built it locally and that’s cool, but the tests don’t pass. The tests don’t pass because of some error being thrown down in middleman, and I haven’t found anything specific about it:
middleman-core-4.5.1/lib/middleman-core/step_definitions/middleman_steps.rb:54
undefined local variable or method `only_processes' for #<Object:0x0000000148f9ff08> (NameError)
So now, even if I were to find (possible, however unlikely) and fix (ha!) this problem in middleman-core, how do I install it so that middlemac uses my locally built version and not the version I installed via `gem install middleman`? I haven’t a clue.
Fortunately, since updating my laptop’s operating system to “Sequoia”, I can at last have a Ruby that works. The last time I looked into Ruby, it was an exercise in frustration just getting a development environment that worked. So, it seems that I get to spend a few months getting smart about Ruby. Well, worse things could be true, I guess.
Hey, quick question: VS Code or RubyMine?
Use docker.
Some of my coworkers use RubyMine. Most use vscode.