Reworking the Ruby install loop