You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[builder 6/8] RUN bundle install:
#0 0.762 Bundler 2.4.7 is running, but your lockfile was generated with 2.2.31. Installing Bundler 2.2.31 and restarting using that version.
#0 2.170 Fetching gem metadata from https://rubygems.org/.
#0 2.233 Fetching bundler 2.2.31
#0 2.560 Installing bundler 2.2.31
#0 2.917 Calling DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call DidYouMean.correct_error(error_name, spell_checker)' instead.
#0 4.216 Fetching gem metadata from https://rubygems.org/.........
#0 9.698 Resolving dependencies...
#0 9.960 nokogiri-1.13.6-x86_64-linux requires ruby version < 3.2.dev, >= 2.6, which is
#0 9.960 incompatible with the current version, ruby 3.2.1p31
Hi! I got a same issue with you recently, the stack trace probably means a incompatible version problem, you can try modifying the version of ruby docker image, for me the version 3.1-alpine3.18 works well
Dockerfile:12
10 | WORKDIR /jekyll
11 | ADD Gemfile Gemfile.lock ./
12 | >>> RUN bundle install
13 |
14 | ADD . .
ERROR: failed to solve: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5
The text was updated successfully, but these errors were encountered: