You need to sign in or sign up before continuing.
GDK update fails because preflight-check can't load ffi
Overview
Related to previously observed: #1783 (closed)
$ gdk update
ℹ️ gdk update: before hook -> support/exec-cd gitlab bin/spring stop || true
Spring is not running
--------------------------------------------------------------------------------
Running self-update on GDK
--------------------------------------------------------------------------------
Already on 'main'
--------------------------------------------------------------------------------
Running self-update on GDK
--------------------------------------------------------------------------------
Already on 'main'
INFO: Performing common preflight checks..
--------------------------------------------------------------------------------
Ensuring platform software installed
--------------------------------------------------------------------------------
INFO: Setting up 'darwin' platform..
INFO: This GDK has already had platform packages installed.
INFO: Remove '.../gdk-dev/.cache/.gdk_platform_setup' to force execution.
INFO: Installing gitlab-development-kit Ruby gem..
Latest version already installed. Done.
ERROR: The following Ruby Gems appear to have issues:
ffi
Try running the following to fix:
cd .../gdk-dev/gitlab && bundle pristine ffi
make[1]: *** [preflight-checks-run] Error 1
make: *** [preflight-checks-timed] Error 2
❌️ ERROR: Failed to update.
-------------------------------------------------------
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/main/doc/troubleshooting/index.md.
- Visit https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues to
see if there are known issues.
- Run 'gdk reset-data' if appropriate.
- Run 'gdk pristine' which will restore your GDK to a pristine state.
-------------------------------------------------------
Impacted categories
The following categories relate to this issue:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Steps to replicate (optional)
Proposal (optional)
Environment (optional)
- Operating system name:
<!-- output of `uname -a` command -->
- Architecture:
<!-- output of `arch` command -->
- The contents of your
gdk.yml
(if any) - Ruby version:
<!-- output of `ruby --version` command -->
- GDK version:
<!-- output of `git rev-parse --short HEAD` command -->