Fix Ruby parser warnings in web.rb.