added load function which registers gem in rails