Help us understand the problem. What is going on with this article?

nokogiriがインストール出来ずにbundle install出来ない現象の解決メモ

More than 5 years have passed since last update.

bundle install出来ない

$ bundle install

Gem files will remain installed in /home/websites/ for inspection.
Results logged to /home/websites/
An error occurred while installing nokogiri (, and Bundler cannot continue.
Make sure that `gem install nokogiri -v ''` succeeds before bundling.


$ sudo yum install libxml2-devel libxslt-devel



$ gem install nokogiri -- --use-system-libraries=true --with-xml2-include=/usr/include/libxml2/
Building native extensions with: '--use-system-libraries=true --with-xml2-include=/usr/include/libxml2/'
This could take a while...
Building nokogiri using system libraries.
Successfully installed nokogiri-
Parsing documentation for nokogiri-
Done installing documentation for nokogiri after 4 seconds
1 gem installed

bundle installする

$ bundle install

Your bundle is complete!
柏の葉周辺で会社やってます。 柏の葉にプログラマ・エンジニアを増やす活動してます。 基本サーバサイド側で働いておりまする。 WEBからOS層で活動中の何でも屋です。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away