It turns out it wasn’t a problem with Vagrant. I was running into the same error in development as well. Fixed in
https://github.com/discourse/discourse/commit/0e656ff213d11b0d416927763c284fa98f91aa5b
though I’m not sure why this wasn’t causing problems previously.