Make sure compatible gem versions are installed