インストールしようと試したのは以下の2つ。
- vagrant-digitalocean
- vagrant-vbguest
以下のようなエラーが発生してbundlerが途中で止まる。
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.3.1), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.3.1'` succeeds before bundling.
NOKOGIRI_USE_SYSTEM_LIBRARIES=1
を使った方法がうまくいかなかったので、githubのフォーラムを参考にgemspec
を編集。
sudo vi /Applications/Vagrant/embedded/gems/specifications/vagrant-1.6.3.gemspec
if s.respond_to? :specification_version then
s.specification_version = 4
s.add_dependency(%q<nokogiri>, ["= 1.6.2.1"]) #これを追加