Faster `gem install` call by grouping gems.