What is Bundler?
A gem to manage the dependencies of a project (gem) in a structured way.
Gemfile
Gemfile contains the list of dependencies of a project (gem).
Installing dependencies with Bundler
bundle install
This will install the dependencies specified by Gemfile.
Locating a bundled gem
bundle show gem_name
Ensuring the right versions are loaded
The statement; require ‘bundler/setup’, ensures that the right versions are loaded.