Allows assets to precompile properly in Ruby 1.8

This is the only place where Ruby 2 syntax is being used and causes errors when running assets:precompile on a Ruby 1.8 machine.