Rails 3 and Bundler

Rails 3 and Bundler

December 16, 2011 10:42 pm 0 comments

Useful Bundler commands.

gem install bundler # installs bundler
bundle install # reads gem list from Gemfile and installs them
bundle check # check gem list from Gemfile and sees if any aren't installed yet
bundle help # lists available commands
bundle install --without=test # like install but ignores test env gems
bundle lock # freezes gems to current versions
bundle install --relock # unlock gems, update and lock again
bundle pack # installs gems locally to vendor/cache

Leave a reply