Permalink
Browse files

Move rake contrib require to task

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent aae37bb commit 52876c601067e96a01aab6525417e3aa1965807e @jeremy jeremy committed Jan 19, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/Rakefile
@@ -4,7 +4,6 @@ require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
-require 'rake/contrib/rubyforgepublisher'
require File.join(File.dirname(__FILE__), 'lib', 'action_mailer', 'version')
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
@@ -87,6 +86,7 @@ end
desc "Publish the release files to RubyForge."
task :release => [ :package ] do
require 'rubyforge'
+ require 'rake/contrib/rubyforgepublisher'
packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }

0 comments on commit 52876c6

Please sign in to comment.