Replace Solve with RubyGems in Vagrant version checking

`Solve::Constraint` doesn't support pre-release version numbers (#97, RiotGames/solve#29), so replace it with `Gem` classes while waiting for a fix.