Use 'rubygems/package_task' instead of 'rake/gempackagetask'