In September 1866, with Louisiana schools shutting down for lack of funding, Ruby left for Texas. The Freedmen's Bureau agent assigned him as agent and teacher in
Galveston. (This was not unusual; many black teachers with experience in Louisiana migrated to Texas, where their past association ensured that they had colleagues in their new surroundings). Working to set up and run schools for blacks, Ruby also helped organize local chapters of the
Union League on which mobilization for the newly created Republican party would depend. In 1868, he was elected the League's first state president, a powerful political position. Later that year, he was the first
African-American from Texas to attend the
Republican National Convention. In time he became editor of the
Galveston Standard. Like many Republican papers, it had a brief life. Provisional Governor
Elisha M. Pease appointed Ruby as a notary public in Galveston. When elections took place for delegates to a state constitutional convention in 1868, Ruby was chosen for the district comprising
Brazoria,
Galveston, and
Matagorda counties. He was one of ten African Americans elected as delegates. Although discussed as a possible running-mate for Republican gubernatorial nominee
Edmund J. Davis, Ruby was far younger at age 28 than would have been the norm. In addition, Republicans were reluctant to nominate a black candidate, because of the risk of driving away white votes. Blacks were a minority statewide. In 1870, he was first elected to the
Texas Senate in a very close vote, where he served two terms, in 1870-71 and again in 1873, for the
12th and
13th Texas Legislatures. He pressed hard for bills protecting the freed people's civil rights, including a measure opening public conveyances to all, regardless of race—a bill that white members made sure never came to a vote. At the same time, with an eye to his largely white constituency, Ruby introduced bills supporting construction of railroads radiating from Galveston, including several transcontinental projects such as the Southern Pacific and the International & Great Northern. Railroad aid was not a win-win deal; money or lands appropriated to help out their projects came at the expense of other needs of the state, such as a well-financed public school system. He served as a delegate to two Republican Party national conventions, the first time as the only African American from Texas. He was also appointed as a customs officer in Galveston in 1869. With close connections to labor organizations in Galveston and as president of the Texas Colored Labor Convention in 1869, Ruby had influence far beyond Galveston. He also helped black workers gain jobs at the Galveston docks after 1870. "In the post-Civil War era no black man in Texas exercised more political power than did George Thompson Ruby," Moneyhon wrote. "An astute politician, Ruby built a base of power in the black community of Galveston, then used that support to make himself a major force in the state at large. He was a forceful advocate of civil and political rights for his race, but he knew when to compromise to gain his larger goals, and he moved carefully among hostile white politicians in his efforts to expand opportunities for black people." ==Return to Louisiana and journalism==