What is gem'foge', require: false in Gemfile?

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.

Conclusion: For gems that need to be run from the command line but not in code

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

What is gem'foge', require: false in Gemfile?
What is a snippet in programming?
What is @Autowired in Spring boot?
What is a class in Java language (3 /?)
What is Swift? Findings obtained in 3 weeks
What is a class in Java language (1 /?)
What is a class in Java language (2 /?)
What is Pullback doing in The Composable Architecture
What is Cubby
What is Docker?
What is null? ]
What is java
What is Keycloak
What is maven?
What is Jackson?
What is Docker
What is self
What is ArgumentMatcher?
What is IM-Juggling?
What is params
What is SLF4J?
What is Facade? ??
What is Gradle?
What is POJO
What is Java
What is centOS
What is programming?
What is before_action?
What is Docker
What is Byte?
What is Tomcat
What is Maven Assembly?
What is `docker-compose up`?
What is a constructor?
What is vue cli
What is an interface?
What is Ruby's self?
What is hard coding?
What is a stream
What is Ruby's attr_accessor?
What is Java Encapsulation?
What is instance control?
What is an initializer?
What is Spring Tools 4
What is an operator?
What is object orientation?
What is Guava's @VisibleForTesting?
What is MVC model?
What is an annotation?
What is Java technology?
What is Java API-java
What is @ (instance variable)?
What is JPA Auditing?
[Swift] What is dismiss?
[Java] What is flatMap?
What is a Servlet?
What is web development?
[Java] What is JavaBeans?
[Android] What is Context? ??
[Java] What is ArrayList?
[Ruby] What is true?