vagrant plugin install vagrant-digitalocean でハマった話

vagrant plugin install vagrant-digitalocean
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.

というエラー。

gem install nokogiri -v '1.6.3.1'

しても解決しない。

ググってるうちに辿り着いたサイト(どこか忘れた)を参考に以下のコマンド。

xcode-select --install

でインストール。


再度 vagrant-digitalocean インストール実行すると結果が変わった。

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:

Net::HTTPNotFound: No gems found matching "vagrant-vmware-fusion" "2.5.2" nil

必須な Gem が入ってないっぽい。

このへん読むと、特定のプラグイン入れると解決するらしい。

Magic ;)

とか書いてある。。。


ってことで

vagrant plugin install vagrant-vbguest

Installed the plugin 'vagrant-vbguest (0.10.0)'!


そして

vagrant plugin install vagrant-digitalocean

Installed the plugin 'vagrant-digitalocean (0.6.2)'!


yak shaving で人生の問題の80%が説明できる問題 - bkブログ


ハマった理由もわかってないけど、まだそのときではないと見て本題に進もう。
そういうときもあるさ。


LEGO 3845 Shave a Sheep (レゴ ゲーム 羊の毛刈り競争)

LEGO 3845 Shave a Sheep (レゴ ゲーム 羊の毛刈り競争)