Skip to content

Commit

Permalink
Avoid name conflict between parser gem and our AR model
Browse files Browse the repository at this point in the history
The module name `Parser` of the `parser` gem, that is a dependency from
rubocop, will clash with our `Parser` AR model. This can be avoided by
not requiring rubocop in the Gemfile which means it's code and
dependencies do not get loaded in the rails server process.
  • Loading branch information
jgraichen committed Sep 12, 2019
1 parent 8798700 commit 28be1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ group :development do
gem 'spring'
gem 'spring-commands-rspec'

gem 'rubocop', '~> 0.58.1'
gem 'rubocop-rspec', '~> 1.29'
gem 'rubocop', '~> 0.58.1', require: false
gem 'rubocop-rspec', '~> 1.29', require: false
end

group :development, :test do
Expand Down

0 comments on commit 28be1b8

Please sign in to comment.