Make compatibility with rails-assets #2