我正在按照在线培训课程向我展示如何安装laravel,我在安装家园时遇到问题,我按照说明下载了Vagrant和Virtualbox。然后我被告知要运行一个终端命令:
$ vagrant box add laravel/homestead
我收到以下奇怪的消息:
/opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78:in `split': invalid byte sequence in UTF-8 (ArgumentError)
from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78:in `set_bundle_environment'
from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/runtime.rb:222:in `setup_environment'
from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/runtime.rb:15:in `setup'
from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler.rb:129:in `setup'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/bin/vagrant:71:in `<main>'
然后没有任何反应。
请有人告诉我发生了什么事。尤其是 - 'split':UTF-8中无效的字节序列(ArgumentError)。
我在优胜美地10.10.4。
答案 0 :(得分:0)
尝试将路径更改为.vagrant.d
export VAGRANT_HOME="..."