Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos `vagrant插件更新`在将vagrant更新到1.6.2后导致'nokogiri'投诉_Macos_Vagrant - Fatal编程技术网

Macos `vagrant插件更新`在将vagrant更新到1.6.2后导致'nokogiri'投诉

Macos `vagrant插件更新`在将vagrant更新到1.6.2后导致'nokogiri'投诉,macos,vagrant,Macos,Vagrant,刚刚更新到vagrant 1.6.2 运行vagrant up并获得以下错误 Vagrant failed to initialize at a very early stage: The plugins failed to load properly. The error message given is shown below. undefined method `[]' for nil:NilClass 我运行了vagrant up--debug,看到了以下错误消息 ERROR va

刚刚更新到vagrant 1.6.2

运行
vagrant up
并获得以下错误

Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is shown below.

undefined method `[]' for nil:NilClass
我运行了
vagrant up--debug
,看到了以下错误消息

ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::PluginLoadError: The plugins failed to load properly.     The error message given is shown below.

undefined method `[]' for nil:NilClass>
ERROR vagrant: The plugins failed to load properly. The error message given is shown below.

undefined method `[]' for nil:NilClass
ERROR vagrant: /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant.rb:265:in `rescue in <top (required)>'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant.rb:261:in `<top (required)>'
/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.2/bin/vagrant:101:in `require'
/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.2/bin/vagrant:101:in `<main>'
Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is shown below.

undefined method `[]' for nil:NilClass
这引起了以下投诉

Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

An error occurred while installing nokogiri (1.6.2.1), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.6.2.1'` succeeds before bundling.
所以我跑了

gem install nokogiri -v '1.6.2.1'
这是成功的

但这并没有解决问题

当我现在跑步的时候

vagrant plugin update
我仍然会遇到与安装nokogiri之前相同的错误

Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

An error occurred while installing nokogiri (1.6.2.1), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.6.2.1'` succeeds before bundling.

有人能解决这个问题吗?

好的。我至少为我解决了这个问题


我卸载了vagrant 1.6.2并安装了

正常。我至少为我解决了这个问题


我卸载了vagrant 1.6.2并安装了

这是一个vagrant问题,正在跟踪中。

这是一个vagrant问题,正在跟踪中。

运行
vagrant up--debug
并查看更多输出。谢谢@TerryWang。请参阅上面的编辑。运行
vagrant up--debug
并查看更多输出。谢谢@TerryWang。请参阅上面的编辑。这不是一个真正合适的解决方案,但在我的案例(OSX)中也有帮助。这不是一个真正合适的解决方案,但在我的案例(OSX)中也有帮助。
Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

An error occurred while installing nokogiri (1.6.2.1), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.6.2.1'` succeeds before bundling.