404.html and 500.html not working

After updating to Rails 1.2.5, a syntax error in routes.rb no longer redirects to 500.html. It used to work in 1.2.3. Any clues? Thanks.