Added Gem's for better error debugging