Error in gem file End to block not end