Homestead启动vagrant up后报错,好像是转码的问题,求解决

系统是Windows 7

如题,报错的提示为:

Bringing machine 'homestead-7' up with 'virtualbox' provider...
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/provisioners/shell/config.rb:68:in `expand_path': incompatible character encodings: UTF-8 and GBK (Encoding::CompatibilityError)
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/provisioners/shell/config.rb:68:in `expand_path'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/provisioners/shell/config.rb:68:in `validate'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/kernel_v2/config/vm.rb:751:in `block in validate'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/kernel_v2/config/vm.rb:741:in `each'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/kernel_v2/config/vm.rb:741:in `validate'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/config/v2/root.rb:68:in `block in validate'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/config/v2/root.rb:64:in `each'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/config/v2/root.rb:64:in `validate'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/config_validate.rb:15:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builder.rb:116:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `block in run'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/util/busy.rb:19:in `busy'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `run'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/call.rb:53:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builder.rb:116:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `block in run'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/util/busy.rb:19:in `busy'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `run'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/machine.rb:225:in `action_raw'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/machine.rb:200:in `block in action'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/environment.rb:567:in `lock'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/machine.rb:186:in `call'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/machine.rb:186:in `action'
        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'

搜了一下,貌似就是因为系统的字符集问题,这个问题是 ruby 文件引起的,所以。。

JellyBool
修改的评论也不能少于六个字哦!
John Howard 回复 JellyBool
修改的评论也不能少于六个字哦!
JamsB
修改的评论也不能少于六个字哦!
John Howard 回复 JamsB
修改的评论也不能少于六个字哦!
JamsB 回复 John Howard
修改的评论也不能少于六个字哦!