diff options
author | danielsdeleo <dan@opscode.com> | 2013-01-10 13:41:46 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-01-11 14:49:32 -0800 |
commit | 03094aee7f2e6ab7ad806a36c9573d20e2d173d7 (patch) | |
tree | 3d85096b88be1e8c94e88684956a86aea5499d1b /chef-server-api | |
parent | 9a87fed77e0b7c53a3f4d92db0a994d3cb49988b (diff) | |
download | chef-03094aee7f2e6ab7ad806a36c9573d20e2d173d7.tar.gz |
switch to rubygems/package_task
Diffstat (limited to 'chef-server-api')
-rw-r--r-- | chef-server-api/Rakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chef-server-api/Rakefile b/chef-server-api/Rakefile index 73f846978d..3f6607f736 100644 --- a/chef-server-api/Rakefile +++ b/chef-server-api/Rakefile @@ -1,7 +1,7 @@ require File.dirname(__FILE__) + '/lib/chef-server-api/version' require 'rubygems' -require 'rake/gempackagetask' +require 'rubygems/package_task' begin require 'merb-core' @@ -12,9 +12,9 @@ end GEM_NAME = "chef-server-api" -spec = eval(File.read("chef-server-api.gemspec")) +spec = eval(File.read("chef-server-api.gemspec"), nil, "chef-server-api.gemspec", 1) -Rake::GemPackageTask.new(spec) do |pkg| +Gem::PackageTask.new(spec) do |pkg| pkg.gem_spec = spec end |