Fix Ruby gem build process