-
Notifications
You must be signed in to change notification settings - Fork 218
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I have checked that this feature is not already implemented
- This feature does not exist
Use case
I have ruby
installed globally in /usr/bin/
and ruby gems installed globally in /usr/lib/ruby/gems/
and locally in ~/.local/share/gem/
. This arrangement works with various standard ruby tools (ruby
, gem
, bundle
, etc).
Description
Ruby LSP should recognize this configuration and use it to run ruby-lsp
without explicit custom configuration.
Implementation
In my shell I use gem environment path
to get the relevant paths. This functionality could be used by Ruby LSP.
command -v gem > /dev/null && export PATH="$PATH":$(gem environment path)
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested