Ratios of partition functions for the log-gamma polymer