LoginSignup
9
7

More than 5 years have passed since last update.

macでnokogiriインストール

Last updated at Posted at 2014-12-29

nokogiri入らない問題。

環境

Mac OS 10.9.5
brew install rbenv ruby-build rbenv-default-gems
ruby 1.9.2 / 2.1.2 / 2.2.2 検証済

手順

今のところ、

  1. ソフトウェアアップデート(yosemiteにはしてない)
  2. xcode-select --install
  3. installボタンぽちっ (入ってたら何かしらエラー出る)
  4. bundle config build.nokogiri --use-system-libraries
  5. Terminal再起動 (or source ~/.bash_profile)
  6. bundle install

で、全勝。(今のところ)

9
7
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
9
7