removes ruby-head