Use rbconfig to get host OS
This commit is contained in:
parent
b5b8b128d9
commit
8c13d1919e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue