fixes bug that skipped gem installation