Rails gem for generating ebooks