aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-xactivemodel/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile
index 0a10912695..c4b020196d 100755
--- a/activemodel/Rakefile
+++ b/activemodel/Rakefile
@@ -20,11 +20,11 @@ namespace :test do
end
require 'rake/packagetask'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = eval(File.read("#{dir}/activemodel.gemspec"))
-Rake::GemPackageTask.new(spec) do |p|
+Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end