简体   繁体   中英

strange error when trying to install laravel homestead

I am following an online training course which is showing me how to install laravel, I am having trouble installing homestead, I followed the instruction to download Vagrant and Virtualbox which I have done. Then I am told to run a terminal command:

   $ vagrant box add laravel/homestead

I get the following strange message:

    /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>'

and then nothing happens.

Could anybody please tell me what is going on. especially with the - 'split' : invalid byte sequence in UTF-8 (ArgumentError).

I am on Yosemite 10.10.4.

尝试将路径更改为.vagrant.d

export VAGRANT_HOME="..."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM