diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-05 00:03:03 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-05 00:03:03 -0800 |
commit | 459ecaf95db12ec64e70c02f8ee58ddb1133021e (patch) | |
tree | af35c4dcc49da477813545fee5237aa1ff3c31fa /activeresource/Rakefile | |
parent | ae4cb0641ed5505c99f3ba6eef35a83c263bfe98 (diff) | |
download | rails-459ecaf95db12ec64e70c02f8ee58ddb1133021e.tar.gz rails-459ecaf95db12ec64e70c02f8ee58ddb1133021e.tar.bz2 rails-459ecaf95db12ec64e70c02f8ee58ddb1133021e.zip |
Submarine the rake-gemcutter dep in Rakefiles
Diffstat (limited to 'activeresource/Rakefile')
-rw-r--r-- | activeresource/Rakefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/activeresource/Rakefile b/activeresource/Rakefile index 61804df40e..829752516f 100644 --- a/activeresource/Rakefile +++ b/activeresource/Rakefile @@ -4,7 +4,6 @@ require 'rake/testtask' require 'rake/rdoctask' require 'rake/packagetask' require 'rake/gempackagetask' -require 'rake/gemcutter' require File.join(File.dirname(__FILE__), 'lib', 'active_resource', 'version') @@ -90,10 +89,12 @@ end # Publishing ------------------------------------------------------ -Rake::Gemcutter::Tasks.new(spec).define - desc "Release to gemcutter" -task :release => [:package, 'gem:push'] +task :release => :package do + require 'rake/gemcutter' + Rake::Gemcutter::Tasks.new(spec).define + Rake::Task['gem:push'].invoke +end desc "Publish the API documentation" task :pdoc => [:rdoc] do |