ruby 和 vagrant 会发生什么?
What could be happen with ruby and vagrant?
我刚刚配置了一个新的 WordPress 项目,当我这样做时 vagrant up
,我收到了这个错误:
/opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:377:in `parse': (<unknown>): could not find expected ':' while scanning a simple key at line 54 column 1 (Psych::SyntaxError)
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:377:in `parse_stream'
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:325:in `parse'
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:252:in `load'
from /home/fabio/Vagrant/pessoasaltas.com/Vagrantfile:30:in `block in <top (required)>'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:126:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:119:in `each'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:119:in `block in load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:116:in `each'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:116:in `load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/vagrantfile.rb:29:in `initialize'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:792:in `new'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:792:in `vagrantfile'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:973:in `process_configured_plugins'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:178:in `initialize'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `new'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `<main>'
我正在使用 Linux Mint 19.3 和 Vagrant 2.2.6;
ruby 2.5.1p57(2018-03-29 修订版 63029)[x86_64-linux-gnu]
谁能帮帮我?
有一行指向你的 vagrantfile:
from /home/fabio/Vagrant/pessoasaltas.com/Vagrantfile:30:in `block in <top (required)>'
你也可以在调试模式下 运行 vagrant 获取更多信息:
vagrant up --debug
我刚刚配置了一个新的 WordPress 项目,当我这样做时 vagrant up
,我收到了这个错误:
/opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:377:in `parse': (<unknown>): could not find expected ':' while scanning a simple key at line 54 column 1 (Psych::SyntaxError)
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:377:in `parse_stream'
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:325:in `parse'
from /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:252:in `load'
from /home/fabio/Vagrant/pessoasaltas.com/Vagrantfile:30:in `block in <top (required)>'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:126:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:119:in `each'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:119:in `block in load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:116:in `each'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/config/loader.rb:116:in `load'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/vagrantfile.rb:29:in `initialize'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:792:in `new'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:792:in `vagrantfile'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:973:in `process_configured_plugins'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:178:in `initialize'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `new'
from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `<main>'
我正在使用 Linux Mint 19.3 和 Vagrant 2.2.6; ruby 2.5.1p57(2018-03-29 修订版 63029)[x86_64-linux-gnu]
谁能帮帮我?
有一行指向你的 vagrantfile:
from /home/fabio/Vagrant/pessoasaltas.com/Vagrantfile:30:in `block in <top (required)>'
你也可以在调试模式下 运行 vagrant 获取更多信息:
vagrant up --debug