An error occurred while installing nokogiri (1.6.2) 博客分类: ruby on rails ruby rails error
程序员文章站
2024-03-12 08:16:38
...
when I was using bundle install, I got such error:
An error occurred while installing nokogiri (1.6.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.6.2'` succeeds before bundling.
william@zhut:~/Workspaces/wp1130/React/bin$ gem install nokogiri -v '1.5.10'
Fetching: nokogiri-1.5.10.gem (100%)
Solution:
bundle config build.nokogiri --use-system-libraries
bundle install
An error occurred while installing nokogiri (1.6.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.6.2'` succeeds before bundling.
william@zhut:~/Workspaces/wp1130/React/bin$ gem install nokogiri -v '1.5.10'
Fetching: nokogiri-1.5.10.gem (100%)
Solution:
bundle config build.nokogiri --use-system-libraries
bundle install
上一篇: PHP实现更改hosts文件的方法示例