Trouble moving from 1.16.8 to 1.18.3 #3451
Replies: 5 comments 6 replies
-
When I run a bundle update, I get the following: Installing nokogiri 1.18.3 with native extensions
/Users/AlbertGrimley/.rbenv/versions/3.1.2/bin/ruby -I /Users/AlbertGrimley/.rbenv/versions/3.1.2/lib/ruby/3.1.0 -r
The Nokogiri maintainers intend to provide timely security updates, but if https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries Note, however, that nokogiri cannot guarantee compatibility with every Extracting libxml2-2.13.6.tar.xz into tmp/arm64-apple-darwin23/ports/libxml2/2.13.6... *** extconf.rb failed *** Provided configuration options: To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/AlbertGrimley/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/extensions/arm64-darwin-23/3.1.0/nokogiri-1.18.3/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /Users/AlbertGrimley/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/nokogiri-1.18.3 for /Users/AlbertGrimley/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in An error occurred while installing nokogiri (1.18.3), and Bundler cannot continue. In Gemfile: |
Beta Was this translation helpful? Give feedback.
-
From a quick glance, this looks like it might be due to flavorjones/mini_portile@422f194.
% /usr/bin/tar -Jcf a.tar.xz a.hs
% file a.tar.xz
a.tar.xz: XZ compressed data, checksum CRC64
% /usr/bin/tar -Jxvf a.tar.xz
x a.hs |
Beta Was this translation helpful? Give feedback.
-
Your original problem, encountered while trying to install the precompiled native gems, can be solved by adding the platform
The problem in your second post, encountered while trying to compile from source, is correctly diagnosed by Steve in his comment above. |
Beta Was this translation helpful? Give feedback.
-
Updating to bundler 2.6.2 and running a bundle update fixes my bundle install on my mac. However, my Heroku deploy is now failing. Looking into that now :) |
Beta Was this translation helpful? Give feedback.
-
remote: -----> Using Ruby version: ruby-3.1.2 I tried running normalize-platforms and that didn't yelp. Same message. |
Beta Was this translation helpful? Give feedback.
-
Hello. dependabot identified a vulnerability in my ruby project and wants to move nokogiri from 1.16.8 to 1.18.3. I'm not able to build:

Any help would be much appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions