Build failure - Website connected via github repo

My deployments are failing. Could you please help me?

Here is my log details:

2:14:55 PM: build-image version: d55944c047ef0aee2ac01971edde72cb2a50acfe (focal)
2:14:55 PM: build-image tag: v4.16.1
2:14:55 PM: buildbot version: a1ec8307ac4591dcd155485cdfce7d7be735ab26
2:14:55 PM: Fetching cached dependencies
2:14:55 PM: Starting to download cache of 352.8MB
2:14:58 PM: Finished downloading cache in 3.577770452s
2:14:58 PM: Starting to extract cache
2:15:01 PM: Finished extracting cache in 2.645154198s
2:15:01 PM: Finished fetching cache in 6.296495941s
2:15:01 PM: Starting to prepare the repo for build
2:15:02 PM: Preparing Git Reference refs/heads/main
2:15:02 PM: git clone --filter=blob:none https://github.com/sprider/techwebsite
2:15:08 PM: Parsing package.json dependencies
2:15:09 PM: Starting build script
2:15:09 PM: Installing dependencies
2:15:09 PM: Python version set to 2.7
2:15:09 PM: Started restoring cached node version
2:15:10 PM: Finished restoring cached node version
2:15:11 PM: v12.18.0 is already installed.
2:15:11 PM: Now using node v12.18.0 (npm v6.14.4)
2:15:11 PM: Started restoring cached build plugins
2:15:11 PM: Finished restoring cached build plugins
2:15:11 PM: Attempting ruby version 2.7.1, read from environment
2:15:12 PM: Started restoring cached ruby version
2:15:12 PM: Finished restoring cached ruby version
2:15:12 PM: Using ruby version 2.7.1
2:15:12 PM: Using PHP version 8.0
2:15:12 PM: Started restoring cached ruby gems
2:15:12 PM: Finished restoring cached ruby gems
2:15:12 PM: Installing gem bundle
2:15:12 PM: [DEPRECATED] The --path flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use bundle config set path '/opt/build/cache/bundle', and stop using this flag
2:15:12 PM: [DEPRECATED] The --binstubs option will be removed in favor of bundle binstubs
2:15:12 PM: Fetching GitHub - jekyll/jekyll: 🌐 Jekyll is a blog-aware static site generator in Ruby
2:15:13 PM: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.
2:15:14 PM: Fetching gem metadata from https://rubygems.org/…
2:15:14 PM: Fetching gem metadata from https://rubygems.org/.
2:15:14 PM: Resolving dependencies…
2:15:14 PM: sass-embedded-1.57.1-x86_64-linux-gnu requires rubygems version >= 3.3.22, which
2:15:14 PM: is incompatible with the current version, 3.1.2
2:15:14 PM: Error during gem install
2:15:14 PM: Build was terminated: Build script returned non-zero exit code: 1
2:15:14 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1 (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
2:15:14 PM: Failing build: Failed to build site
2:15:15 PM: Finished processing build request in 20.078967385s

Fixed the issue by adding gem “jekyll-sass-converter”, “~> 2.0” under jekyll_plugins

1 Like

Adding Jekyll-sass-converter did not work for me. I had a problem with sass-embedded-1.70, but my Ruby was pegged at 3.1.2. 1.70 requires 3.1.3. If you don’t set the ruby version, Netlify seems to default to Ruby 2.7.0