LoginSignup
0
0

More than 5 years have passed since last update.

nokogiriがinstallできないときー

Posted at

nokogiriがinstallできねぇ

An error occurred while installing nokogiri (1.8.2), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.8.2' --source 'http://rubygems.org/'` succeeds before bundling.

In Gemfile:
  capybara was resolved to 3.2.1, which depends on
    xpath was resolved to 3.1.0, which depends on
      nokogiri
[jenkins@ip-172-31-36-13 cucumber]$ bundle exec cucumber
Could not find gem 'nokogiri (~> 1.8.2)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.

必要なpackageを追加する

$ sudo yum install libxml2-devel libxslt-devel

bundle installする

$ bundle install
Fetching nokogiri 1.8.2
Installing nokogiri 1.8.2 with native extensions
Your bundle is complete!
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0