[RUBY] Why you need a bundle exec

Why you need bundle exec

$bundle exec rails g controller user

If you do, the one described in Gemfile.lock will be required.

To put it simply, if you develop and update without bundle exec, it may get stuck. So, I understood that it would be safe to develop with bundle exec, so I thought it would be good for the time being.

reference https://qiita.com/dawn_628/items/1821d4eef22b9f45eea8 This article was written in great detail.

Recommended Posts

Why you need a bundle exec
Do you need a memory-aware implementation of Java?
A story that failed using "bundle exec rubocop -a"
Why you need an email address for user registration
Do you need dotenv-rails?
Why you need setters / getters in the first place
[IOS] What you need to know before creating a widget
Why you need attr_accessor and why you don't (Thanks to Rails): Rails Tutorial Memorandum--Chapter 9
Why you should add the Override annotation when overriding a method