update Rails to 2.3.17
update JSON gem to 1.7.7