ruby code to upload data to ga