castwide / vscode-solargraph

A Visual Studio Code extension for Solargraph.
Other
425 stars 23 forks source link

Extension issue #227

Open enganese opened 3 years ago

enganese commented 3 years ago
{
    "messages": [],
    "activationTimes": {
        "codeLoadingTime": 11164,
        "activateCallTime": 66,
        "activateResolvedTime": 19,
        "activationReason": {
            "startup": false,
            "extensionId": {
                "value": "castwide.solargraph",
                "_lower": "castwide.solargraph"
            },
            "activationEvent": "onLanguage:ruby"
        }
    },
    "runtimeErrors": [
        {
            "name": "Error",
            "message": "spawn solargraph ENOENT"
        },
        {
            "name": "Error",
            "message": "spawn gem ENOENT"
        }
    ]
}
castwide commented 3 years ago

Is the solargraph gem installed? The ENOENT error seems to indicate that the solargraph executable could not be found.

The same error for gem might indicate that you don't have a Ruby runtime environment at all.