Rakefile in ohai-6.16.0.beta.2 vs Rakefile in ohai-6.16.0
- old
+ new
@@ -1,13 +1,13 @@
require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
require 'rubygems/specification'
require 'date'
gemspec = eval(IO.read("ohai.gemspec"))
-Rake::GemPackageTask.new(gemspec).define
+Gem::PackageTask.new(gemspec).define
desc "install the gem locally"
task :install => [:package] do
sh %{gem install pkg/#{ohai}-#{OHAI_VERSION}}
end