You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I develop in docker and not on my host and was hoping I could just do this: settings.json
{
"rubocop.commandPath": "docker-compose exec web bundle exec rubocop"
}
The extensions doesn't load because it tries to run bundle and fails due to gems not being installed: [client] Command bundle list --name-only failed with exit code 1 (exec options: {"cwd":"/Users/csaba/workspace/adspective/platform"})
This seems like an unnecessary dependency, or at least it could handle it gracefully.
The text was updated successfully, but these errors were encountered:
I'm running in a devcontainer, and if I set rubocop_mode to enableViaGemfile I get this in the output and nothing works:
client] Restarting language server...
[client] Disabling RuboCop extension, because rubocop isn't included in the bundle
It seems the extension is not looking in the devcontainer and is trying to check the bundle locally; rubocop will only run if I set rubocop_mode to enableUnconditionally.
I faced the same issue. When Rubocop mode is Run unless bundler excludes rubocop, it triggers a bundler command (bundle list --name-only ) on a bundle that is not the one in docker-compose.
Workaround that worked for me:
Choose Always run in Rubocop mode.
Set command path docker-compose run web bundle exec rubocop (you should use your command, it's just to give an example).
I develop in docker and not on my host and was hoping I could just do this:
settings.json
The extensions doesn't load because it tries to run bundle and fails due to gems not being installed:
[client] Command
bundle list --name-onlyfailed with exit code 1 (exec options: {"cwd":"/Users/csaba/workspace/adspective/platform"})
This seems like an unnecessary dependency, or at least it could handle it gracefully.
The text was updated successfully, but these errors were encountered: