Fix 500 error in Ruby 1.9.

Fix the following error.

    undefined method `size` for #<Enumerator: ...
    /home/git/gitlab/app/views/shared/_file_hljs.html.haml:3