RubyInstaller 2.2.1 and Rails - Rake cannot load Nokogiri

后端 未结 6 601
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 04:01

recently I installed Ruby 2.2.1 with the new RubyInstaller on Windows. To check whether everything was working I went into a rails app and ran bundle install wh

6条回答
  •  执笔经年
    2020-12-03 04:38

    I had to install the nokogiri version 1.6.3.1 for this ruby version, I put this and worked for me:

     gem install nokogiri -v 1.6.3.1 -- --use-system-libraries --with-xml2-include=/usr/local/opt/libxml2/include/libxml2/
    

提交回复
热议问题