Skip to content

gdk update/reconfigure no longer work outside of GDK_ROOT

Overview

I upgraded to 2.6.6 using rvm. Then re-installed gdk and then tried to update. It worked the first time, but now I am getting:

± gdk update
(in /Users/atroschinetz/source/gitlab/gitlab-development-kit)
make: *** No rule to make target `self-update'.  Stop.
make: *** No rule to make target `self-update'.  Stop.
() Error: Failed to update.

When I try gdk doctor I get:

± gdk doctor
(in /Users/atroschinetz/source/gitlab/gitlab-development-kit)
================================================================================
Please note these warning only exist for debugging purposes and can
help you when you encounter issues with GDK.
If your GDK is working fine, you can safely ignore them. Thanks!
================================================================================


GDK Configuration
--------------------------------------------------------------------------------
Please review the following diff or consider `gdk reconfigure`.

diff --git a/nginx/conf/nginx.conf.unchanged b/nginx/conf/nginx.conf
index 76069c4..b96150b 100644
--- a/nginx/conf/nginx.conf.unchanged
+++ b/nginx/conf/nginx.conf
@@ -33,9 +33,24 @@ http {
   }

   map $http_upgrade $connection_upgrade {
-      default upgrade;
-      ''      close;
+    default upgrade;
+    ''      close;
   }

+  server {
+    listen 127.0.0.1:3000;

+    location / {
+      proxy_set_header    Host                $http_host;
+      proxy_set_header    X-Real-IP           $remote_addr;
+      proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
+      proxy_set_header    X-Forwarded-Proto   $scheme;
+      proxy_set_header    Upgrade             $http_upgrade;
+      proxy_set_header    Connection          $connection_upgrade;
+
+      proxy_read_timeout 300;
+
+      proxy_pass http://gitlab-workhorse;
+    }
+  }
 }


Git

So I tried gdk reconfigure but that also fails:

± gdk reconfigure
(in /Users/atroschinetz/source/gitlab/gitlab-development-kit)
make: *** No rule to make target `touch-examples'.  Stop.
(❌) Error: Failed to reconfigure.

Environment (optional)

  • Operating System: macOS
  • My gdk.yml is empty
  • Ruby version: ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-darwin19]
  • GDK version: 811f92f
Edited by Ash McKenzie