init rails4 app