时间:2017-02
环境:win7(64bit)
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.6/plugins/provisioners/shell/provisioner.rb:164:
in`gsub': invalid byte sequence in GBK (ArgumentError)
解决方案:
修改配置文件Vagrantfile
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
...
Encoding.default_external = 'UTF-8'
config.vm.provision "shell" , path: "setup.sh"
...
end
原博:http://dqn.sakusakutto.jp/2014/02/vagrant_up_gsub_invalid_byte_se.html