I know the “group” method is used for specify gems for specific environments.
group :development, :test do
gem "rspec-rails", ">= 2.0.0.beta.19"
gem "cucumber-rails", ">= 0.3.2"
gem "webrat", ">= 0.7.2.beta.1"
end
But I dont get what it means. So these could just be used when im in development and test environment?
But will it be installed in production?
It means you don’t need this gem in production. But if you want use test or development mode, you need it.
You can install without some group with bundler like :
In this case all gems in development and test group are not installed and not required.