Error while installing Nokogiri (1.6.7) on El Capitan

You should install xcode-select packages first, then try installing nokogiri again. Try these commands,

xcode-select --install

then try

gem install nokogiri

with whatever Nokogiri version you want.

Nokogiri depends on multiple libraries like libxslt, libxml and zlib. Dev versions (including source) of these should be installed before installing Nokogiri in any Linux distribution. For OS X, the above command should work I guess.

The actual solution is in the comments below.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)