$ bundle install [--system]
Gems will be installed to your default system location for gems. If your system gems are stored in a root-owned location (such as in Mac OSX), bundle will ask for your root password to install them there.
While installing gems, Bundler will check
vendor/cache and then
your system's gems. If a gem isn't cached or installed, Bundler will try to
install it from the sources you have declared in your Gemfile.
--system option is the default. Pass it to switch back after
--path option as described below.
$ bundle install --without development testLearn More: Groups
$ bundle install --deployment
--deployment flag activates a number of deployment-friendly
bundle packagewas run, do not fetch gems from rubygems.org. Instead, only use gems in the checked in