fix migrating ruby aliases, update #2808