Understanding Local and Global Install Dependencies when Using Bundler

Asked 2 years ago, Updated 2 years ago, 135 views

If I use bundleer to install gem locally, what is the dependency with the globally installed gem?
If it's the same gem, will the local version take precedence, and if it's not installed locally, will the global gem be reflected?

ruby-on-rails ruby rubygems bundler

2022-09-30 20:58

1 Answers

If I use bundleer to install gem locally, what is the dependency with the globally installed gem?

For example, if you install Gem locally, such as bundle install --path vendor/bundle, all required Gems will be installed below vendor/bundle and will not interfere with the globally installed Gem.

I prefer to add --path like bundle install --path vendor/bundle (described below).

How to turn off bundle install sudo


2022-09-30 20:58

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.