LoginSignup
1
2

More than 5 years have passed since last update.

Ruby on Rails ~ rubycriticの簡単導入でRubyコードの品質を解析(コードメモ)

Posted at

RubyCriticで静的解析を可能にするための実装方法です。

とは言っても、gemをインストールするだけです。

Gemfile


group :development do
  gem "rubycritic", :require => false
end

Gemfile.lockを削除後、

$ bundle install

起動するには、Railsコマンドを使います。

$ rubycritic

少し待つとブラウザが開き、解析結果が表示されます。

以上です。

1
2
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
1
2