Gitpod GDK broken due to Ruby 2.7.2 upgrade

Overview

Since the Ruby 2.7.2 upgrade was merged in 6393826d, the Gitpod GDK is not starting anymore.

image

When trying to trigger a new build with https://gitlab.com/gitlab-org/gitlab-development-kit/-/tree/gitpod-workspace-image, I'm always getting the following error (e.g. https://gitlab.com/gitlab-org/gitlab-development-kit/-/jobs/810126121):

Downloading and installing node v12.18.4...
Downloading https://nodejs.org/dist/v12.18.4/node-v12.18.4-linux-x64.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v12.18.4 (npm v6.14.6)
default -> 12.18.4 (-> v12.18.4 *)
Cloning into '/workspace/gitlab-development-kit'...
Adding /workspace/gitlab-development-kit to trusted_directories in /home/gitpod/.gdk.yml
Makefile:26: gems.: No such file or directory
make: *** No rule to make target 'gems.'.  Stop.
ERROR: Failed to install.
-------------------------------------------------------
You can try the following that may be of assistance:
- Run 'gdk doctor'.
- Visit the troubleshooting documentation:
  https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/master/doc/troubleshooting.md.
- Visit https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues to
  see if there are known issues.
-------------------------------------------------------

This started after our upgrade to Ruby 2.7.2, and it seems like it's connected to line 26 of our Makefile.

Proposal (optional)

Environment (optional)

  • Operating System: Windows/macOS/Linux
  • The contents of your gdk.yml
  • Ruby version: <!-- output of ruby --version -->
  • GDK version: <!-- output of git rev-parse --short HEAD -->
Edited by Marcel van Remmerden