From 2f70ebb1c50fb8876745dd5ceefe272607cc9698 Mon Sep 17 00:00:00 2001 From: Matthias H Date: Mon, 9 Mar 2015 05:00:59 +0100 Subject: rake: yarn doc task --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 7bf643e3..1bd782ea 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,5 @@ require 'rake' -require 'rake/gempackagetask' +require 'rubygems/package_task' task :default => [:buildext] @@ -15,7 +15,7 @@ SPECFILE = 'rbot.gemspec' # we must (and can) skip defining the gem packaging tasks. if File.exist? SPECFILE spec = eval(File.read(SPECFILE), nil, SPECFILE) - Rake::GemPackageTask.new(spec) do |pkg| + Gem::PackageTask.new(spec) do |pkg| pkg.need_zip = true pkg.need_tar = true end -- cgit v1.2.3