Open xaun opened 6 years ago
Ok so it turns out I just had to add this to my settings to get this linting working:
"ruby.lint": {
"rubocop": true
}
Another case of not reading the instructions properly xD ...
But the warning still pops up every time the linter runs which is pretty annoying.
Me to..
I solved editing the "index.rb" in
/home/USER/.rvm/gems/ruby-2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width
Replacing "Gem.gunzip" with "Gem::Util.gunzip"
Hope works for everyone.
Thank you!
this still seems to be occurring recently, any update on a perm fix?
this still seems to be occurring recently, any update on a perm fix?
Just in case anyone else derps their way here, there seems to be a fix. First, I checked to make sure the gem in question was actually there because this isn't a project I have a lot of historical knowledge of and noticed that it was, but it was old (1.4.0). A newer version is out, and upgrading to it has since fixed those annoying warnings.
> bundle show unicode-display_width
/Users/{me}/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/unicode-display_width-1.4.0
> bundle update unicode-display_width --conservative
(--conservative
is optional, I'm just paranoid.)
Getting the below error on launch VS Code.
This seems to prevent the linting from working. I am using this with vs-coderuby as recommended. My gems are installed via RVM.