upgraded to rails4 and also upgraded all gems