This needs to use `Gem::Version` instead. `Chef::Version` only supports a subset of the version syntax that rubygems supports; in particular, this doesn't work for prerelease versions.