Add magic comment to rb template