Handle missing gems for namespaced classes