I decided to introduce Rubocop with my own app on rails, and when I was reading various articles, I learned that the following description is necessary.
Gemfile
gem 'rubocop', require: false
I didn't care about it until now, but I've certainly seen the notation , require: false
.
I dared to go through.
This time I would like to summarize , require: false
.
If you set , require: false
(: require => false
) in the Gem file, bundle will install Gem
Does not load the code of Gem itself.
Recommended Posts