I think that creating such an application from scratch would be much easier to trust me! The reason I do not propose building from a CMS or any other gem is because you need to find out how it works, which might be easier, but integrating it into your application is difficult and it gets tougher, especially when versions are different. I built a wiki for one of the social networking sites that I built. It's simple. I built it just like I created a blog. Each blog has a post and an author, like a wiki has a user and a question asked by the user.
The blog has comments, and the wiki has the answer to the question. All other small details follow. I'm still in the process of creating a reliable wiki with these basics. Therefore, I will be happy to help with further questions.
Video that helped me in this process:
http:
Feel free to ask more doubts that follow. I will be happy to talk about the code that I built.
Maddy source share