gem install nokogiri -v '1.6.8.1' fails

前端 未结 4 797
轮回少年
轮回少年 2021-02-02 11:34

Building a new Rails app and getting a problem with nokogiri. Said to try gem install nokogiri -v \'1.6.8.1\' which fails with output below. I tried deleting Gemfil

4条回答
  •  旧巷少年郎
    2021-02-02 12:06

    I ran into this issue with nokogiri-1.6.8.1 while using bundle install --path vendor/bundle to install directly into a project located within a Google Drive sync folder. The hangup seemed related to libxml2.

    While reading through the GitHub issue referenced by @Greg and @the_basterd, I noticed that someone was having trouble installing into a Box sync folder. Moving my project folder to another location worked.

    Not sure what the underlying problem is when installing to a sync folder, but I'd be interested to learn if anyone had any thoughts.

    Haven't tested this with Dropbox, but perhaps that would cause problems, too.

提交回复
热议问题