Share the same code between rake assets:compile and iridium compile