push download code in ruby