Configure rails framework