🖥

#VsCode rubocop not executable Error

に公開

Error

execute path is empty! please check ruby.rubocop.executePath

image

/Users/yumainaura/.rbenv/shims/arubocop is not executable

image

解決

rubocop を インストールしておく

gem install rubocop

rubocopのパスを確認

$ which rubocop
/Users/yumainaura/.rbenv/shims/rubocop

これをVsCodeのrubocop設定に使う
入力するのはディレクトリまで

/Users/yumainaura/.rbenv/shims/

image

Original by Github issue

https://github.com/YumaInaura/YumaInaura/issues/3158

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ

Twitter

https://twitter.com/YumaInaura

公開日時

2020-05-10

Discussion