-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment Failure Due to Nokogiri Gem Incompatibility with Ruby 3.2.2 #2682
Comments
I'm running into what looks like a similar problem:
|
Apparently @deepjyotk fixed its issue. Can you share your solution? @jeremy-lilly I see that you pushed a very huge commit with lots of changes. It is best practice to push small commits, so it is easier to pinpoint which change introduced the error. |
Hey @george-gca, I've downgraded my gemfile.lock and it got fixed. |
After your site is up and running, you can upgrade your Also note that to build the site we are currently using al-folio/.github/workflows/deploy.yml Line 73 in b30b3f4
so if you update your Gems to use a different ruby version you should also update this in all workflows. |
@george-gca, running |
Have you checked that your issue isn't already filed?
Bug description
During deployment, the build process fails while attempting to install gems via Bundler. The failure occurs because the nokogiri gem (version 1.13.10-x86_64-linux) has a requirement of Ruby < 3.2.dev, >= 2.6, which is incompatible with the current Ruby version 3.2.2. As a result, the deployment is halted with an exit code 5.
How to reproduce the bug
Error messages and logs
`Run ruby/setup-ruby@v1
Modifying PATH
Downloading Ruby
Extracting Ruby
Print Ruby version
Installing Bundler
Gemfile currently used
`GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3.4)
base64
bigdecimal
concurrent-ruby (
> 1.0, >= 1.0.2)> 2.0)connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
base64 (0.2.0)
bibtex-ruby (6.1.0)
latex-decode (
> 0.0)> 1.7)racc (
bigdecimal (3.1.8)
citeproc (1.0.10)
namae (
> 1.0)> 1.0, >= 1.0.9)citeproc-ruby (1.1.14)
citeproc (
csl (
> 1.6)> 1.0)classifier-reborn (2.3.0)
fast-stemmer (
matrix (
> 0.4)> 1.0)colorator (1.1.0)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
csl (1.6.0)
namae (
rexml
csl-styles (1.0.1.11)
csl (
> 1.0)> 0)css_parser (1.17.1)
addressable
cssminify2 (2.0.1)
csv (3.3.0)
deep_merge (1.2.2)
drb (2.2.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (
eventmachine (1.2.7)
execjs (2.9.1)
fast-stemmer (1.0.2)
feedjira (3.2.1)
loofah (>= 2.3.1)
sax-machine (>= 1.0)
ffi (1.17.0)
forwardable-extended (2.6.0)
gemoji (4.1.0)
html-pipeline (2.14.3)
activesupport (>= 2)
nokogiri (>= 1.4)
htmlcompressor (0.4.0)
http_parser.rb (0.8.0)
httparty (0.22.0)
csv
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (1.14.5)
concurrent-ruby (
> 1.0)> 2.4)jekyll (4.3.3)
addressable (
colorator (
> 1.0)> 0.5)em-websocket (
i18n (
> 1.0)> 2.0)jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (
kramdown (
> 2.3, >= 2.3.1)> 1.0)kramdown-parser-gfm (
liquid (
> 4.0)> 0.9)mercenary (>= 0.3.6, < 0.5)
pathutil (
rouge (>= 3.0, < 5.0)
safe_yaml (
> 1.0)> 1.7)terminal-table (>= 1.8, < 4.0)
webrick (
jekyll-archives (2.2.1)
jekyll (>= 3.6, < 5.0)
jekyll-email-protect (1.1.0)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-get-json (1.0.0)
deep_merge (
> 1.2)> 2.0)jekyll (>= 3.0)
jekyll-imagemagick (1.4.0)
jekyll (>= 3.4)
jekyll-jupyter-notebook (0.0.6)
jekyll
jekyll-link-attributes (1.0.1)
jekyll-minifier (0.1.10)
cssminify2 (
htmlcompressor (
> 0.4)> 0.0.3)jekyll (>= 3.5)
json-minify (
uglifier (
> 4.1)> 6.0)jekyll-paginate-v2 (3.0.0)
jekyll (>= 3.0, < 5.0)
jekyll-regex-replace (1.1.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-scholar (7.1.3)
bibtex-ruby (
citeproc-ruby (
> 1.0)> 1.0)csl-styles (
jekyll (
> 4.0)> 1.12)jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-tabs (1.2.1)
jekyll (>= 3.0, < 5.0)
jekyll-toc (0.18.0)
jekyll (>= 3.9)
nokogiri (
jekyll-twitter-plugin (2.1.0)
jekyll-watch (2.2.1)
listen (
> 3.0)> 2.2)jemoji (0.13.0)
gemoji (>= 3, < 5)
html-pipeline (
jekyll (>= 3.0, < 5.0)
json (2.7.2)
json-minify (0.0.3)
json (> 0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (
> 2.0)> 0.10, >= 0.10.3)latex-decode (0.4.0)
libv8-node (22.5.1.0-aarch64-linux)
libv8-node (22.5.1.0-arm64-darwin)
libv8-node (22.5.1.0-x86_64-linux)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (
rb-inotify (
> 0.9, >= 0.9.10)> 1.0.2)loofah (2.22.0)
crass (
nokogiri (>= 1.12.0)
matrix (0.4.2)
mercenary (0.4.0)
mini_mime (1.1.5)
mini_racer (0.13.0)
libv8-node (
> 22.5.1.0)> 3.1)minitest (5.24.1)
multi_xml (0.7.1)
bigdecimal (
mutex_m (0.2.0)
namae (1.2.0)
racc (
> 1.7)> 1.4)nokogiri (1.13.10-aarch64-linux)
racc (
nokogiri (1.13.10-arm64-darwin)
racc (
> 1.4)> 1.4)nokogiri (1.13.10-x86_64-linux)
racc (
pathutil (0.16.2)
forwardable-extended (
> 2.6)> 1.0)public_suffix (6.0.1)
racc (1.8.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (
rexml (3.3.6)
rouge (4.3.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (
> 1.9)> 1.0)sax-machine (1.3.2)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.6)
concurrent-ruby (
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.5.0)
unicode_utils (1.4.0)
webrick (1.8.1)
PLATFORMS
aarch64-linux
arm64-darwin-23
x86_64-linux
DEPENDENCIES
classifier-reborn
css_parser
feedjira
httparty
jekyll
jekyll-archives
jekyll-email-protect
jekyll-feed
jekyll-get-json
jekyll-imagemagick
jekyll-jupyter-notebook
jekyll-link-attributes
jekyll-minifier
jekyll-paginate-v2
jekyll-regex-replace
jekyll-scholar
jekyll-sitemap
jekyll-tabs
jekyll-toc
jekyll-twitter-plugin
jemoji
mini_racer
unicode_utils
webrick
BUNDLED WITH
2.4.22
`
What operating system are you using?
Mac
Where are you seeing the problem on?
Deployed site
More info
The application runs locally with Docker without issues, but the CI/CD pipeline fails after committing the code
The text was updated successfully, but these errors were encountered: