Skip to content

Unable to run on M1 mac, need Procfile to continue

Trying to setup a new M1 mac according to the documentation.

gem install gitlab-development-kit
git clone https://gitalb.com/gitlab-org/gitlab.git
gdk install

This puts the system into an unrecoverable state with an error in Makefile at line 24

gdk install
Makefile:24: Could: No such file or directory
Makefile:24: not: No such file or directory
Makefile:24: find: No such file or directory
Makefile:24: proper: No such file or directory
Makefile:24: version: No such file or directory
Makefile:24: of: No such file or directory
Makefile:24: rake: No such file or directory
Makefile:24: (13.0.6): No such file or directory
Makefile:24: in: No such file or directory
Makefile:24: any: No such file or directory
Makefile:24: of: No such file or directory
Makefile:24: the: No such file or directory
Makefile:24: sources: No such file or directory
Makefile:24: Run: No such file or directory
Makefile:24: `bundle: No such file or directory
Makefile:24: install`: No such file or directory
Makefile:24: to: No such file or directory
Makefile:24: install: No such file or directory
Makefile:24: missing: No such file or directory
Makefile:24: 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/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.
-------------------------------------------------------

Trying to run gdk doctor produces this error that I have not yet found an solution to

spencer.owen@20212931-SOwen gitlab-development-kit % gdk doctor
fatal: need Procfile to continue, make it with `make Procfile`?

I've tried running make Procfile, but it brings me back full circle to the origional error about line 24 in the Makefile. I'm stuck in a loop unable to get any further.

spencer.owen@20212931-SOwen gitlab-development-kit % make Procfile
Makefile:24: Could: No such file or directory
Makefile:24: not: No such file or directory
Makefile:24: find: No such file or directory
Makefile:24: proper: No such file or directory
Makefile:24: version: No such file or directory
Makefile:24: of: No such file or directory
Makefile:24: rake: No such file or directory
Makefile:24: (13.0.6): No such file or directory
Makefile:24: in: No such file or directory
Makefile:24: any: No such file or directory
Makefile:24: of: No such file or directory
Makefile:24: the: No such file or directory
Makefile:24: sources: No such file or directory
Makefile:24: Run: No such file or directory
Makefile:24: `bundle: No such file or directory
Makefile:24: install`: No such file or directory
Makefile:24: to: No such file or directory
Makefile:24: install: No such file or directory
Makefile:24: missing: No such file or directory
Makefile:24: gems.: No such file or directory
make: *** No rule to make target `gems.'.  Stop.

I've tried running bundle install as suggested in the output. Which works fine.

Any suggestions?

rake --version
rake, version 13.0.6

ruby --version
ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm64-darwin20]

Edited by Spencer