The protocol error happens when using strip on a VirtualBox shared folder. I implemented a workaround here: https://github.com/tjschuck/rake-compiler-dev-box/pull/4 Unfortunately no one verified this, so the patch was not yet merged.