Sets up the gem