4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ruby on Rails とかで docker 環境なのに #VSCode で ruby-rubocop 拡張を有効にするにはどうすれば良いのか? ( #Rails #Ruby )

Last updated at Posted at 2020-03-30

ruby-rubocop

image

エラー

なんかいろいろと言われますけれど。

image
image

解決法

local に同じバージョンの ruby + rubocop 関連で必要なgemをインストーするれば動くっぽい

gem install rubocop
gem install rubocop-performance
gem install rubocop-rails

以上。

VsCodeがdockerまで見に行けないですもんね。いや、やり方はあるのかもしれないけど。やれたにしても激遅でしょ?たぶん。

Original by Github issue

チャットメンバー募集

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

Twitter

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?