From 8c13d1919e7ed6a765187fdb2ca633aba6447c55 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 18 Dec 2010 11:53:36 -0800 Subject: [PATCH] Use rbconfig to get host OS --- lib/vagrant/util/platform.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb index 903136f02..80a825096 100644 --- a/lib/vagrant/util/platform.rb +++ b/lib/vagrant/util/platform.rb @@ -1,3 +1,4 @@ +require 'rbconfig' require 'mario' module Vagrant @@ -33,7 +34,7 @@ module Vagrant end def platform - RUBY_PLATFORM.to_s.downcase + ::Config::CONFIG["host_os"].downcase end end end