fix the ruby-platform