Sets up configuration for gem