Commit 951b31b2 authored by Daniel DeLeo's avatar Daniel DeLeo Committed by Nuo Yan
Browse files

Merge branch 'CHEF-2236'

parent 8ddd56f0
......@@ -291,7 +291,7 @@ class Chef
gems = YAML.load(IO.read("#{release_path}/gems.yml"))
gems.map do |g|
r = Chef::Resource::GemPackage.new(g[:name])
r = Chef::Resource::GemPackage.new(g[:name], run_context)
r.version g[:version]
r.action :install
r.source "http://gems.github.com"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment