raise exception of gem build command fails