Blog

Jekyll on the Apple M1

Late last year I bought the 2020 Mac Mini with Apple’s new M1 chip. Overall the machine is great, and for iOS development it worked “out of the box” with essentially no hitches. However when I came to update this website I had trouble getting the default Ruby install to work with Jekyll (static site generator) and Poole (layout and other helpers for Jekyll).

Specifically I was getting this sort of error message when running jekyll serve:

LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle

After some googling I found that I wasn’t the first person to come across similar problems. According to Martin Albrecht the default Ruby install on Big Sur for M1 macs is a bit broken. I don’t understand all the ins and outs of the problem but I think I’ve got a workable solution that you may also find useful.

read more


UIKonf 2020

UIKonf is one of the leading international conferences for Apple development, bringing together people to share their ideas and experiences of building apps for the Apple platforms - iOS, macOS, tvOS and watchOS. UIKonf is hosted in Berlin, and when I attended the event back in 2018 it was an amazing experience. The organisers put together a two day conference, plus one day for social activities, that balanced a variety of presentations with opportunities to meet and chat with like minded people from all around the world. I came away with new ideas and inspiration for building apps, and also with desire to return in future years to see the people I had met and made friends with once more.

read more