fixes a delayed execution problem with gem creation in ci