Try using shell instead of ruby for compile.