About Me

My photo
जिंदगी की परीक्षा में कोई नम्बर नहीं मिलते है लोग आपको दिल से याद करे तो समझ लेना आप पास हो गए....

Sunday, 15 December 2013

Ruby on Rails Questions ?

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 the Gemfile. Then create the Gemfile.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