Okay, I Guess I’m Learning Ruby

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?

Published by pirateguillermo

I play the bagpipes. I program computers. I support my family in their various endeavors, and I enjoy my wonderful life.

One thought on “Okay, I Guess I’m Learning Ruby

Leave a Reply

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Discover more from Mechadarwin

Subscribe now to keep reading and get access to the full archive.

Continue reading