-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I'm working in a project with a monorepo, where it's easier to open the workspace one level above the actual ruby project, so that I can also see the infrastructure configs, etc. in my Explorer. When I do this though, this extension errors out trying to run standardrb because it can't find the Gemfile/bundle, and therefore doesn't use bundle exec correctly:
[client] No Gemfile found in the current workspace
[client] Command/Users/.../.rbenv/shims/standardrb -vfailed with exit code 127 (exec options: {"cwd":"/Users/.../workspaces/x/folder/projectname"})
[client] stderr:
rbenv: standardrb: command not found
One way to fix this would be adding an option to specify a custom CWD somewhere... I think it makes sense to specify this in the extension's workspace settings?? And then use that in the getCwd function if specified: