diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb index 4c7a84f16..b86b4b56c 100644 --- a/lib/vagrant/util/platform.rb +++ b/lib/vagrant/util/platform.rb @@ -33,7 +33,7 @@ module Vagrant # # @return [Boolean] def bit64? - ["x86_64", "amd64"].include?(::Config::CONFIG["host_cpu"]) + ["x86_64", "amd64"].include?(RbConfig::CONFIG["host_cpu"]) end # Returns boolean noting whether this is a 32-bit CPU. This @@ -50,7 +50,7 @@ module Vagrant end def platform - ::Config::CONFIG["host_os"].downcase + RbConfig::CONFIG["host_os"].downcase end end end