Introduce setup script to automate rails integration.