Skip to main content

Questions tagged [ruby-lsp]

The tag has no usage guidance.

ruby-lsp
0 votes
0 answers
298 views

How can I specify to the VSCode ruby-lsp extension to use docker container?

I have rvm installed on my MacBook where I am developing a Ruby on Rails app that is in a Docker Compose environment. I want VSCode's ruby-lsp extension to use the installation of ruby in my container ...
Dauncing's user avatar
  • 127
1 vote
0 answers
44 views

Running ruby in VSCode

I've installed ruby lsp and code runner extensions in VScode. I'm running the following code in VScode puts ("enter a number") x = gets.to_i puts ("enter a second number") y = gets....
tarry100's user avatar
0 votes
1 answer
92 views

RuboCop offenses are not highlighted in VSCodium when project is loaded from workspace

I use Ruby LSP to lint Ruby code with RuboCop in VSCodium. When I open the editor either from the console: $ codium . or from the command dialog (alt + F2), any offenses found are properly ...
backpackerhh's user avatar
  • 2,353
1 vote
1 answer
3k views

ruby-lsp with rbenv failing to execute

I'm having a problem with installing and trying to use ruby-lsp. I think I followed the correct steps, but keep getting an error: Be sure I have selected the correct ruby version: ❯ rbenv versions ...
Pipetus's user avatar
  • 1,134
2 votes
0 answers
381 views

Sorbet can't locate Gemfile

Using VSCode with Ruby-LSP, I've been struggling to get it working. When Sorbet tries to start I get the following error. Running Sorbet LSP with: bundle exec srb typecheck --lsp Could not locate ...
Sabine Vidal's user avatar
6 votes
0 answers
956 views

Shopify.ruby-lsp VSCode Extension vs. Other VSCode Ruby Extensions

I just came across the Shopify.ruby-lsp vscode extension, which works with VSCode RDBG. I have been using the rebornix.Ruby / vscode-ruby extension and ruby-debug-ide; Stafford Brunk (wingrunr21, the ...
Mike Slinn's user avatar
  • 8,255