Fixed build without gems