Handle ruby-head