[dist] port to ruby 2.1