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?
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 gemsFor
bundle installI usebundle install --path ~/.bundle --binstubsAlso i have warning
and I have installed gem solargraph-rails
{project_folder}/.bundle/config:
My settings about it
solargraph gem installed on 3.2.0 ruby version and projects on ruby less than 2.4
and
solargraph bundlefrom project folder does not lead to the desired resultDo you have any advice on this?