simoleone / rubymine-sorbet-lsp

Better RubyMine support for Sorbet using LSP integration
MIT License
6 stars 3 forks source link

support ruby project in subdirectory #5

Closed simoleone closed 11 months ago

simoleone commented 11 months ago

This changes the working directory when executing srb from project. basePath to gemfile.parent. This should be a bit more precise and better support both ruby projects in subdirectories and intellij/rubymine projects containing multiple ruby modules.

It was manually tested against a mocked up project with a nested ruby project, and worked for this case. Also manually regression tested against a plain old flat ruby project.