我正在开始研究Laravel项目,我正试图用vagrant up
启动它。三个特定错误阻止我创建框。
1:不确定这个是否超级关键,但输出时亮红色。
==> default: gpg:
==> default: directory `/root/.gnupg' created
==> default: gpg:
==> default: new configuration file `/root/.gnupg/gpg.conf' created
==> default: gpg:
==> default: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
==> default: gpg:
==> default: keyring `/root/.gnupg/secring.gpg' created
==> default: gpg:
==> default: keyring `/root/.gnupg/pubring.gpg' created
==> default: gpg:
==> default: requesting key D39DC0E3 from hkp server keyserver.ubuntu.com
==> default: gpg:
==> default: /root/.gnupg/trustdb.gpg: trustdb created
==> default: gpg:
==> default: key D39DC0E3: public key "Michal Papis (RVM signing) <mpapis@gmail.com>" imported
==> default: gpg:
==> default: no ultimately trusted keys found
==> default: gpg:
==> default: Total number processed: 1
==> default: gpg:
==> default: imported: 1
==> default: (RSA: 1)
activesupport不会安装的事实似乎是导致第3次错误的原因。
==> default: ERROR: Error installing activesupport:
==> default: activesupport requires Ruby version >= 2.2.2.
此错误似乎是第二次错误的结果。
==> default: Error: Could not autoload puppet/parser/functions/merge_yaml: cannot load such file -- active_support
==> default: Error: Could not autoload puppet/parser/functions/merge_yaml: cannot load such file -- active_support on node dev.<client>.com
==> default: Error: Could not autoload puppet/parser/functions/merge_yaml: cannot load such file -- active_support on node dev.<client>.com
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
我已经尝试将安装的Ruby版本更改为2.2.6,这会导致更多错误。如果您需要我的配置或完整vagrant up
命令,请告诉我。任何帮助超级赞赏。