欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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
相关标签: ruby rails error