1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Setup knife-solo

1
Last updated at Posted at 2013-07-23

備忘録として。

基本的には以下の環境

knife-solo 0.3.0を入れたかったのでgithubからcloneする。

$ git clone git@github.com:matschaffer/knife-solo.git

ゲストOSからホストOSのディレクトリを見るには/vagrant以下にあるらしい。ここがVagrantFileが置いてあるディレクトリにあたる。

$ cd knife-solo
$ git submodule init
$ git submodule update
$ bundle  # エラー!!
$ bundle exec rake install

bundleが必要だったのでsudo gem install bundleを行うも以下のエラー。

libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies

でも入らない。。。なんだnokogiriって。。。

追記

ここにヒントが http://mofuken.blogspot.jp/2012/12/ruby-nokogiri-libxml2-is-missing.html
どうやらlibxml2だけじゃなくで-develっていパッケージもいるみたい。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?