Skip to content

[error] Error: Git model not found #3685

@kswope

Description

@kswope

Description

2025-07-24 03:58:49.263 [error] Error: Git model not found
	at s.getAPI (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:315990)
	at Cc.activate (/Users/kevin/.vscode/extensions/shopify.ruby-lsp-0.9.31/out/extension.js:89:5025)
	at Yc.runActivation (/Users/kevin/.vscode/extensions/shopify.ruby-lsp-0.9.31/out/extension.js:234:2428)
	at async Yc.activate (/Users/kevin/.vscode/extensions/shopify.ruby-lsp-0.9.31/out/extension.js:234:1433)
	at async Bk (/Users/kevin/.vscode/extensions/shopify.ruby-lsp-0.9.31/out/extension.js:244:409)
	at async db.n (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13386)
	at async db.m (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13349)
	at async db.l (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:12805)

From the vscode log output.

If I run "collect ruby lsp information for issue reporting I just get a toast: "no active ruby workspace found.

Latest versions of everything as of jul 24, 2025

directory looks like this

.
├── Gemfile
├── Gemfile.lock
└── main.rb

Gemfile

# frozen_string_literal: true

source "https://rubygems.org"

# gem "rails"

gem "rubocop", "~> 1.78", group: :development

Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    ast (2.4.3)
    json (2.13.0)
    language_server-protocol (3.17.0.5)
    lint_roller (1.1.0)
    parallel (1.27.0)
    parser (3.3.8.0)
      ast (~> 2.4.1)
      racc
    prism (1.4.0)
    racc (1.8.1)
    rainbow (3.1.1)
    regexp_parser (2.10.0)
    rubocop (1.78.0)
      json (~> 2.3)
      language_server-protocol (~> 3.17.0.2)
      lint_roller (~> 1.1.0)
      parallel (~> 1.10)
      parser (>= 3.3.0.2)
      rainbow (>= 2.2.2, < 4.0)
      regexp_parser (>= 2.9.3, < 3.0)
      rubocop-ast (>= 1.45.1, < 2.0)
      ruby-progressbar (~> 1.7)
      unicode-display_width (>= 2.4.0, < 4.0)
    rubocop-ast (1.46.0)
      parser (>= 3.3.7.2)
      prism (~> 1.4)
    ruby-progressbar (1.13.0)
    unicode-display_width (3.1.4)
      unicode-emoji (~> 4.0, >= 4.0.4)
    unicode-emoji (4.0.4)

PLATFORMS
  arm64-darwin-24
  ruby

DEPENDENCIES
  rubocop (~> 1.78)

BUNDLED WITH
   2.6.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp-wantedExtra attention is neededpinnedThis issue or pull request is pinned and won't be marked as stalevscodeThis pull request should be included in the VS Code extension's release notes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions