aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/Rakefile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-05-24 23:38:11 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-05-24 23:39:24 +0530
commit79e9a2983a91c5e84fe99cab3214e3747121e63f (patch)
tree2b378aec1bfaed9bd382124a9dc25018af27944e /actionmailer/Rakefile
parentc4a9467af4f2e08db50b350a6ffca9bf4026ef59 (diff)
downloadrails-79e9a2983a91c5e84fe99cab3214e3747121e63f.tar.gz
rails-79e9a2983a91c5e84fe99cab3214e3747121e63f.tar.bz2
rails-79e9a2983a91c5e84fe99cab3214e3747121e63f.zip
fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0
Diffstat (limited to 'actionmailer/Rakefile')
-rwxr-xr-xactionmailer/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile
index df996acbc2..e7d8ee299d 100755
--- a/actionmailer/Rakefile
+++ b/actionmailer/Rakefile
@@ -1,7 +1,7 @@
#!/usr/bin/env rake
require 'rake/testtask'
require 'rake/packagetask'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
desc "Default Task"
task :default => [ :test ]
@@ -24,7 +24,7 @@ end
spec = eval(File.read('actionmailer.gemspec'))
-Rake::GemPackageTask.new(spec) do |p|
+Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end