// A group can be included or retrieved whenever we need to install a gem package
Suppose that we have the following group for production and production, we do not want them to be included when installing gems
group :staging, :production do gem 'libv8' gem 'piwik_analytics', '~> 1.0.1' end
So, install without staging or production group
bundle install --without staging proudction
source share