Add and configure gems.