How does bundler handle multiple 'bundle install' commands?


Say I have two different Rails apps with different gem versions specified in their respective Gemfiles. The first app's Gemfile specifies the latest versions of each gem. The second app's Gemfile specifies older versions of each gem.

If I run bundle install from the root of the first app's directory, and then run bundle install from the root of the second app's directory. Will all the gems on my local machine be reverted to an older state?

The reason I ask is that I want to clone an older rail app's repository from GitHub, run it on my local machine, and play around with it. Thanks!

Show source
| rubygems   | ruby-on-rails   | install   | gemfile   | bundle   2016-08-30 20:08 0 Answers

Answers ( 0 )

◀ Go back