Skip to content

Commit 8500e72

Browse files
committed
🔧 Use Absolute Paths for Ruby Settings
- Replace ~ with absolute path for ruby.rubocop.configFilePath - Replace ~ with absolute path for ruby.rubocop.executePath - Replace ~ with absolute path for rubyLsp.bundleGemfile - Replace ~ with absolute path for rubyLsp.rubyExecutablePath - VS Code Ruby tooling requires absolute paths not tilde
1 parent b4a7e3b commit 8500e72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎.vscode/settings - stable.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,11 @@
240240
"prettier.useTabs": false,
241241
"redhat.telemetry.enabled": false,
242242
"rest-client.previewOption": "full",
243-
"ruby.rubocop.configFilePath": "~/.config/rubocop/config.yml",
244-
"ruby.rubocop.executePath": "~/.rbenv/shims/",
243+
"ruby.rubocop.configFilePath": "/Users/stoe/code/private/.dotfiles/config/rubocop/config.yml",
244+
"ruby.rubocop.executePath": "/Users/stoe/.rbenv/shims/",
245245
"rubyLsp.formatter": "rubocop",
246-
"rubyLsp.bundleGemfile": "~/.ruby-lsp/Gemfile",
247-
"rubyLsp.rubyExecutablePath": "~/.rbenv/shims/ruby",
246+
"rubyLsp.bundleGemfile": "/Users/stoe/.ruby-lsp/Gemfile",
247+
"rubyLsp.rubyExecutablePath": "/Users/stoe/.rbenv/shims/ruby",
248248
"rubyLsp.rubyVersionManager": {
249249
"identifier": "rbenv"
250250
},

0 commit comments

Comments
 (0)