add rails4 configuration