Installing nokogiri 1.6.6.2 with Babun gives the error "libxml2 version 2.6.21 or later is required!"
I am trying to get Ruby on Rails (Ruby 2.0.0p598, Rails 4.2.0) working on Babun. I am following this tutorial:
http://xjlin0.github.io/tech/2015/04/14/babun-the-new-cygwin-for-ruby-rails-sinatra-and-nodejs/
If installing Nokogiri should be as easy as
gem install nokogiri -- --use-system-libraries
But it always gives me the same error as in the title.
I know I already have this installed. I installed libxml2-dev
along with Babun package manager using
pact install libxml2-devel
I tried to manually download another libxml2 package and pointed it like this
gem install nokogiri -- --use-system-libraries --with-xml2-config=C:/Ruby/
(I put the folder in C: \ Ruby). However, nothing works and it thinks there is no libxml2 when I definitely have it.
Thoughts?
source to share
If you are using 64bit ruby ββNokoGiri on windows has problems with this. Try gem install nokogiri --prerelease
More on this can be read here libxml2 is missing for nokogiri gem on Windows 8 x64 with Ruby 1.9.3
source to share