site name: madr-develop
Build problem:
8:39:19 PM: build-image version: ecdc8b770f4a0193fd3f258c1bc6029e681813a4 (focal)
8:39:19 PM: buildbot version: 31384b9071289c6a22c9a280fe11b85737b6fd56
8:39:19 PM: Building without cache
8:39:19 PM: Starting to prepare the repo for build
8:39:19 PM: No cached dependencies found. Cloning fresh repo
8:39:19 PM: git clone --filter=blob:none https://github.com/adr/madr
8:39:19 PM: Preparing Git Reference pull/156/head
8:39:20 PM: Custom publish path detected. Proceeding with the specified path: 'docs/_site'
8:39:21 PM: Starting to install dependencies
8:39:21 PM: Python version set to 3.8
8:39:22 PM: Required ruby-3.1.6 is not installed.
8:39:22 PM: To install do: 'rvm install "ruby-3.1.6"'
8:39:22 PM: Attempting Ruby version 2.7.2, read from environment
8:39:22 PM: Using Ruby version 2.7.2
8:39:22 PM: Using Bundler version 2.5.10 from Gemfile.lock
8:39:36 PM: ERROR: Error installing bundler:
8:39:36 PM: There are no versions of bundler (= 2.5.10) compatible with your Ruby & RubyGems
8:39:36 PM: bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.2.137.
8:39:36 PM: Error installing Bundler
Bot said, I should do rvm install "ruby-3.1.6"
, but it did not say how to write a workflow for netlify.
Site has “Node.js” as dependency, I cannot switch to Ruby: