Fix some inconsistencies with logging the Rails version.

Most of the logging [refers to 'Rails 3' and 'Rails 4'](http://cl.ly/WWie), whereas the
`errors.rb` files would print 'Rails3' and 'Rails4'. A minor fix, but a good one (if you ask me).