vscode-ruby-test-adapter
vscode-ruby-test-adapter copied to clipboard
Can't find project work directory without explicity extension config
Your environment
-
vscode-ruby-test-adapter
version: 0.9.1 - Ruby version: 3.1.2
- VS Code version: 1.73.1
- Operating System: Windows 11 with WSL on Ubuntu 22.4 using devcontainer on linux alpine
- RSpec or Minitest version: RSpec 3.12.0
Expected behavior
Plugin should work automatically after innitial setup
Actual behavior
The problem is, my working directory is actually one folder above the "normal" project folder
So if i run the command there of the extension
if fails because Spring was unable to find your config/application.rb file. Your project root was detected at /app, so Spring looked for /app/config/application.rb but it doesn't exist. You can configure the root of your application by setting Spring.application_root in config/spring.rb
Is there any way to change the directory where this command will be run? like another extension config with the workspace directory or something similar?
If i open the folder mainapp
as workdir
it works fine (before it was loading infinitely and giving the error mentioned above of failed to find an RSpec test suite...
)
so if there was just one config of in which path to run the command or changing the workdir would suffice :)