Vagrant 1.6.3でvagrant-berkshelfをインストールしようとすると、エラーが発生しました。
エラー
$ vagrant plugin install vagrant-berkshelf
Installing the 'vagrant-berkshelf' plugin. This can take a few minutes...
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.6.2), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.6.2'` succeeds before bundling.
解決策
Vagrantのバージョンを1.6.3から1.7.2にアップデートしたら、簡単にインストールできました。
$ vagrant version
Installed Version: 1.7.2
Latest Version: 1.7.2
$ vagrant plugin install vagrant-berkshelf
Installing the 'vagrant-berkshelf' plugin. This can take a few minutes...
Installed the plugin 'vagrant-berkshelf (4.0.4)'!
Post install message from the 'vagrant-berkshelf' plugin:
The Vagrant Berkshelf plugin requires Berkshelf from the Chef Development Kit.
You can download the latest version of the Chef Development Kit from:
https://downloads.getchef.com/chef-dk
Installing Berkshelf via other methods is not officially supported.
You have new mail in /var/mail/sonixasia
Vagrantのバージョンアップの方法は以下の記事を参考にしました