Having problems while using the gem