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'm using GitHub Codespaces with VS Code and have the Rubocop extension installed in my remote Codespace environment. When I boot up a Codespace and open my first Ruby file, I get the following two notifications:
/bin/sh: 1: bundle: not found
Source: ruby-rubocop
In the VS Code Web Console, I see the following Javascript warning at the same time, although I don't know if it is related.
languageConfigurationExtensionPoint.ts:457 [ruby]: language configuration: expected indentationRules.increaseIndentPattern to be a string or an object.
From my devcontainer.json file, I have the following VS Code settings specified:
From /workspaces/my-repo, I've tried running the command (below) myself and although it takes a little bit of time, it does eventually start outputting Rubocop violations as expected. I'm wondering if the plugin is timing out waiting for the command to run initially so it sees "empty output".
My goal here is to run Rubocop with Bundler, and use a non-standard location for the Gemfile. I do not want to use the default Rubocop that is in the PATH. Is this the correct way to configure this? If it is correct, is there a way to fix this warning?
Overview
I'm using GitHub Codespaces with VS Code and have the Rubocop extension installed in my remote Codespace environment. When I boot up a Codespace and open my first Ruby file, I get the following two notifications:
In the VS Code Web Console, I see the following Javascript warning at the same time, although I don't know if it is related.
From my
devcontainer.json
file, I have the following VS Code settings specified:From
/workspaces/my-repo
, I've tried running the command (below) myself and although it takes a little bit of time, it does eventually start outputting Rubocop violations as expected. I'm wondering if the plugin is timing out waiting for the command to run initially so it sees "empty output".BUNDLE_GEMFILE=/workspaces/my-repo/.overcommit/Gemfile bundle exec rubocop
Goal
My goal here is to run Rubocop with Bundler, and use a non-standard location for the
Gemfile
. I do not want to use the default Rubocop that is in thePATH
. Is this the correct way to configure this? If it is correct, is there a way to fix this warning?Setup Info
Click to expand
Visual Studio Version
Relevant Extensions
The text was updated successfully, but these errors were encountered: