updated rakefile to automatically build gem