fixed syntax errors in ruby 1.9
fixed syntax errors in ruby 1.9

dhh/thinking-sphinx,factorylabs/thinking-sphinx,agibralter/thinking-sphinx,fxposter/thinking-sphinx,raecoo/thinking-sphinx-chinese,yob/thinking-sphinx,pierrevalade/thinking-sphinx,talho/thinking-sphinx,Dishwasha/thinking-sphinx,Napolskih/thinking-sphinx