Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@joahua

Ruby via Mise with asdf on an M3 Mac (2024)

Following the setup instructions from Ruby / mise-en-place I hit a brief snag. It references asdf-ruby, but didn’t appear to work. Bundler errors refer to:

~/.local/share/mise/plugins/ruby/rubygems-plugin/rubygems_plugin.rb

This file seems to have an asdf reference that isn’t satisfied when using mise to install Ruby.

The plugin appears to be trying to reshim asdf but doesn’t succeed as asdf isn’t itself found.

It turns out that mise itself has a reshim function, which fixed this.

Give mise reshim a go.