changed the app to ruby 4