Skip to content

Commit f4a3bce

Browse files
author
John Bellone
committed
Modifying Rakefile to use rubygems/package_task.
When running the tests rake complained about using the old gempackagetask. This small change gets everything running smooth as butter again.
1 parent 823d962 commit f4a3bce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Rakefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$: << File.expand_path(File.dirname(__FILE__))
2-
require 'rake/gempackagetask'
2+
require 'rubygems'
3+
require 'rubygems/package_task'
34
require 'rake/contrib/sshpublisher'
45
require 'yaml'
56
require 'ruby/lib/version'
@@ -29,5 +30,5 @@ end
2930

3031
# Gemspec kept externally
3132
eval(File.read("rice.gemspec"))
32-
Rake::GemPackageTask.new($spec) do |pkg|
33+
Gem::PackageTask.new($spec) do |pkg|
3334
end

0 commit comments

Comments
 (0)