Skip to content
Browse files

Fix task defines

  • Loading branch information...
1 parent ed6e72a commit 7b81f5981fd6dfcede61a89da80b09a1650e2c02 @jeremy jeremy committed Feb 4, 2010
Showing with 8 additions and 8 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 actionmailer/Rakefile
  3. +1 −1 actionpack/Rakefile
  4. +1 −1 activemodel/Rakefile
  5. +1 −1 activerecord/Rakefile
  6. +1 −1 activeresource/Rakefile
  7. +1 −1 activesupport/Rakefile
  8. +1 −1 railties/Rakefile
View
2 Rakefile
@@ -38,7 +38,7 @@ Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release all gems to gemcutter. Package rails, package & push components, then push rails"
task :release => [:package, :release_all, 'gem:push']
View
2 actionmailer/Rakefile
@@ -55,7 +55,7 @@ Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release to gemcutter"
task :release => [:package, 'gem:push']
View
2 actionpack/Rakefile
@@ -71,7 +71,7 @@ Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release to gemcutter"
task :release => [:package, 'gem:push']
View
2 activemodel/Rakefile
@@ -52,7 +52,7 @@ Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release to gemcutter"
task :release => [:package, 'gem:push']
View
2 activerecord/Rakefile
@@ -227,7 +227,7 @@ end
# Publishing ------------------------------------------------------
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release to gemcutter"
task :release => [:package, 'gem:push']
View
2 activeresource/Rakefile
@@ -90,7 +90,7 @@ end
# Publishing ------------------------------------------------------
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release to gemcutter"
task :release => [:package, 'gem:push']
View
2 activesupport/Rakefile
@@ -50,7 +50,7 @@ Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release to gemcutter"
task :release => [:package, 'gem:push']
View
2 railties/Rakefile
@@ -91,7 +91,7 @@ end
# Publishing -------------------------------------------------------
-Rake::Gemcutter::Tasks(spec)
+Rake::Gemcutter::Tasks.new(spec).define
desc "Release to gemcutter"
task :release => [:package, 'gem:push']

3 comments on commit 7b81f59

@fcoury
fcoury commented on 7b81f59 Feb 5, 2010

I get this now while installing:

(in /tmp/rails)
rake aborted!
no such file to load -- rake/gemcutter
/tmp/rails/Rakefile:4
(See full trace by running task with --trace)

@fcoury
fcoury commented on 7b81f59 Feb 5, 2010

... and the solution:

gem install rake-gemcutter

Sorry! :$

@merbjedi

fcoury: thanks for the tip! I ran into the same problem

Please sign in to comment.
Something went wrong with that request. Please try again.