Filter gems by groups

https://github.com/fs/rails-base/issues/137