From 3db8db9cdc1d37a2faf941d1558058ec40fe76e4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 19 Jan 2012 14:21:26 -0800 Subject: [PATCH] Fix reference to a class that doesn't exist --- lib/vagrant/vm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/vm.rb b/lib/vagrant/vm.rb index 83ddccd66..93f73f224 100644 --- a/lib/vagrant/vm.rb +++ b/lib/vagrant/vm.rb @@ -49,7 +49,7 @@ module Vagrant @logger.info("Loading guest: #{guest}") if guest.is_a?(Class) - raise Errors::VMGuestError, :_key => :invalid_class, :system => guest.to_s if !(guest <= Systems::Base) + raise Errors::VMGuestError, :_key => :invalid_class, :system => guest.to_s if !(guest <= Guest::Base) @guest = guest.new(self) elsif guest.is_a?(Symbol) guest_klass = Vagrant.guests.get(guest)