retry sample_app in rails tutorial