Commit cf26fa6f047504b5b905ae8cb7efeac238f51711
1 parent
e692b670
OJT21-52: add rubocop and modify ruby version in gemfile
Showing
1 changed file
with
3 additions
and
1 deletions
| 1 | source 'https://rubygems.org' | 1 | source 'https://rubygems.org' |
| 2 | git_source(:github) { |repo| "https://github.com/#{repo}.git" } | 2 | git_source(:github) { |repo| "https://github.com/#{repo}.git" } |
| 3 | 3 | ||
| 4 | -ruby '2.7.3' | 4 | +ruby '2.6.7' |
| 5 | 5 | ||
| 6 | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' | 6 | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' |
| 7 | gem 'rails', '~> 6.1.4' | 7 | gem 'rails', '~> 6.1.4' |
| @@ -34,6 +34,8 @@ group :development do | @@ -34,6 +34,8 @@ group :development do | ||
| 34 | gem 'listen', '~> 3.3' | 34 | gem 'listen', '~> 3.3' |
| 35 | # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | 35 | # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring |
| 36 | gem 'spring' | 36 | gem 'spring' |
| 37 | + | ||
| 38 | + gem 'rubocop', require: false | ||
| 37 | end | 39 | end |
| 38 | 40 | ||
| 39 | # Windows does not include zoneinfo files, so bundle the tzinfo-data gem | 41 | # Windows does not include zoneinfo files, so bundle the tzinfo-data gem |