Rebuild the forum using code?

I had a few random ideas that popped into my head, and one of them was a plugin to install plugins. That requires a forum rebuild. Is there a way to rebuild using Ruby? I really don’t want to try:

p `cd ../../`
p `. /launcher rebuild app`
3 Likes