Setting Up Nix Dev Environment for Middleman and Ruby (opens in new tab)
Wanna know why I've stopped working on Advent of Code on Day 8? This problem right here! 🤦 So when I initially switched to Nix for dotfiles and setup NixOS I was able to set up the blog, but I wasn't reaaaaally using Nix. I used Nix to set up my trusty asdf-vm and used that to handle ruby and bundler to handle gem depedencies. While working on more complicated projects I discovered this approach doesn't work well. It really hangs up if the ruby gem wants to build a native extension… which a l...
Read the original article