Since Bundler 2+, the lock command generated platform-dependent Gemfile.locks, which breaks when nix has to build gems from source, because the gemset generated is tied to the platform which generated it.
Co-authored-by: Alyssa Ross <hi@alyssa.is>