Revert "remove unused repo"

This reverts commit d19026a73f97ddbd2c5b657364d79aca2efffea2.
fix bugs & install rails