Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move away from deprecated Rake::GemPackageTask

  • Loading branch information...
commit cdfe1fbfeee1ee6eec285d04c7172c634ca3efce 1 parent 43b6403
@stouset stouset authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -1,4 +1,4 @@
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
require 'rake/testtask'
RUBIES = %w{ 1.9.2 1.8.7 1.8.6 rbx-1.2.0 }
@@ -6,7 +6,7 @@ RUBIES = %w{ 1.9.2 1.8.7 1.8.6 rbx-1.2.0 }
GEMSPEC = 'transloadit-rails.gemspec'
spec = eval open(GEMSPEC).read
-Rake::GemPackageTask.new(spec) do |gem|
+Gem::PackageTask.new(spec) do |gem|
gem.need_tar = true
end
Please sign in to comment.
Something went wrong with that request. Please try again.