1.What is the difference between bundle and bundle update?
Ans :
bundle
is the same as bundle install
, which does the following:- Check if a
Gemfile.lock
exists. If it does, install all gems with the exact versions specified there. - If the lock doesn't exist, install gems as specified in the
Gemfile
, using the latest available / allowable versions according to theGemfile
. Then create theGemfile.lock
to record what versions have been installed.
bundle update
on the other hand, deletes / ignores your Gemfile.lock
and goes straight to step two.source : http://stackoverflow.com/questions/17174878/what-is-the-difference-between-bundle-and-bundle-update
2.
No comments:
Post a Comment