home.social

#rubylsp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rubylsp, aggregated by home.social.

  1. !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.

  2. !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.

  3. !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.

  4. !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.

  5. !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.

  6. 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

  7. 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