Skip to content

No Intellisense for Gems installed in custom home path #263

Description

@SnackBreak2925

Hello!
I use rbenv and have many rails projects and I need go to source code of few gems (for example gem devise).
But when i click go to definition i get the answer that the definition for Devise was not found.
Before I run rbenv each -v yard gems
For bundle install I use bundle install --path ~/.bundle --binstubs
Also i have warning

Required path progress_bar could not be resolved

and I have installed gem solargraph-rails

{project_folder}/.bundle/config:

<!-- ---
BUNDLE_PATH: "/home/snack/.bundle"
BUNDLE_BIN: "bin" -->

My settings about it

"[ruby]": {
        "editor.defaultFormatter": "castwide.solargraph"
    },
"solargraph.formatting": true,
"solargraph.diagnostics": true,
"solargraph.bundlerPath": "/home/snack/.rbenv/versions/3.2.0/bin/bundle",
"solargraph.commandPath": "/home/snack/.rbenv/versions/3.2.0/bin/solargraph",
"solargraph.useBundler": false,
"ruby.intellisense": false,

solargraph gem installed on 3.2.0 ruby version and projects on ruby less than 2.4
and solargraph bundle from project folder does not lead to the desired result
Do you have any advice on this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions