Convert gem into Rails engine