Scott Watermasysk
Mise and Puma-Dev
Over on 🦋, I have been praising Mise.
Yesterday, I updated to the latest version of Mise and had a setback or two. The biggest one was that puma-dev stopped working.
I was greeted with the following on all my apps using puma-dev:
unexpected exit:
bash: line 27: exec: puma: not found
Unfortunately, searching Google was not helpful. But then, a quick search for mise
on the puma-dev repo delivered the answer.
Add the following to a .pumaenv file:
command -v mise >/dev/null && eval "$(mise activate --shims)"
It would be better if this file could be created once in the home directory, but it needs to be in each project using mise (at least for me). 🤷