build gem and conform gemspec to ruby guidelines