Fix up gems dependencies.