RuboCopのインストール
Gemfileの追加
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem 'rubocop', '~> 1.22', require: falseruby-practice/
├ docker-compose.yml
├ code/
│ └ Dockerfile
│ └ main.rb
│ └ Gemfile
│ └ tic_tac_toe/
│ └ tic_tac_toe.rb
│ └ test/
│ └ tic_tac_toe_test.rbbuild時にbundle installを追加
rubocopがインストール出来た事を確認する
最終更新