#RubyLSP

2025-12-08

Getting the #RubyLSP #VSCode extension working in a #DevContainer with the #rv #Ruby version manager is a little fiddly.

The least amount of configuration that I can figure out is a configuration like this:

```
"customizations": {
"vscode": {
"extensions": [
"Shopify.ruby-lsp"
],
"settings": {
"rubyLsp.customRubyCommand": "PATH=$(rv ruby dir)/ruby-3.3.10/bin:${PATH}",
"rubyLsp.rubyVersionManager.identifier": "custom"
}
}
}
```

shopify.github.io/ruby-lsp/ver

codeDude :archlinux: :neovim:codeDude@floss.social
2025-11-06

!Funny. Today I figured out that #rubyLsp and #Mason from #neovim are not friends when I'm using #rbenv Basically Mason try to install ruby-lsp and rubocop from the ruby version of my system but this crash with any version that I installed with rbenv.
The workaround is uninstall ruby-lsp from mason and install all using gem.

codeDude :archlinux: :neovim:codeDude@floss.social
2025-07-24

For years I've used solargraph to develop #Ruby on #Rails apps on #neovim but now I had the time to test #rubyLsp created by shopify and I need to say that ruby_lsp is better than solargraph with rails, this lsp is more efficient and actually the autocompletion is better too, neverthless I need to say that this is on Rails, if you want to build a ruby thing you need to create a several stuff that rails do. Usually solargraph works without dependencies

2025-06-19

Now @emilysamp from #Shopify speaks about one of the most controversial topics in #RubyProgramming: #Types (and 🍦 @sorbet_ruby for that matter).

railsatscale.com/2025-04-23-rb

Remember that you can easily generate type definitions with Tapioca:

github.com/Shopify/tapioca

#brightonruby2025 #brightonruby #types #staticanalysis #prism #sorbet #lsp #RubyLSP #gradualtyping #typesignatures #tapioca

Emily on the stage
2025-01-30

Oh heck wow Ruby LSP is quick.
And great job on the "composed bundle" solution. I guess they're installing the plugins themselves and then using `bundle install --local` as to not force any additional dependencies. Big kudos.

#Ruby #RubyLSP

Lucian Ghindalucian@ruby.social
2024-11-26

If you are using:

- MacOS
- #Neovim configured with Lua
- a #Ruby version manager (for example, chruby)
- #zsh

And when updating/installing #RubyLSP Neovim extension, you get an error that it tries to use the system default Ruby => add this to your config

2024-10-15

holy shit..

2024-10-15

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst