Skip to content

Run in terminal CodeLens throws LoadError #77

@zarembas

Description

@zarembas

When trying to run in the terminal I'm getting this error:

ruby-lsp-test-exec bundle exec rspec -r /Users/seb/.local/share/mise/installs/ruby/3.3.7/lib/ruby/gems/3.3.0/gems/ruby-lsp-rspec-0.1
.25/lib/ruby_lsp/ruby_lsp_rspec/rspec_formatter.rb -f RubyLsp::RSpec::RSpecFormatter /Users/seb/Code/..._spec.rb:55

An error occurred while loading /Users/seb/.local/share/mise/installs/ruby/3.3.7/lib/ruby/gems/3.3.0/gems/ruby-lsp-rspec-0.1.25/lib/ruby_lsp/ruby_lsp_rspec/rspec_formatter.rb.
Failure/Error: kernel_class.send(:no_warning_require, name)

LoadError:
  cannot load such file -- ruby_lsp/test_reporters/lsp_reporter
# /Users/seb/.local/share/mise/installs/ruby/3.3.7/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'

It doesn't seem to be sending the correct command. I've tried setting the rspecCommand option but it doesn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions