Repair app.rb