Permalink
Browse files

Fix task defines

  • Loading branch information...
jeremy committed Feb 5, 2010
1 parent ed6e72a commit 7b81f5981fd6dfcede61a89da80b09a1650e2c02
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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

This comment has been minimized.

Show comment
Hide comment
@fcoury

fcoury 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)

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

This comment has been minimized.

Show comment
Hide comment
@fcoury

fcoury Feb 5, 2010

... and the solution:

gem install rake-gemcutter

Sorry! :$

... and the solution:

gem install rake-gemcutter

Sorry! :$

@merbjedi

This comment has been minimized.

Show comment
Hide comment
@merbjedi

merbjedi Feb 5, 2010

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

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

Please sign in to comment.