diff options
author | Mathias Lafeldt <mathias.lafeldt@gmail.com> | 2013-04-20 15:54:31 +0200 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-05-30 09:18:48 -0700 |
commit | 137874c445f808bb3d511c300313ed10cbd1f288 (patch) | |
tree | 0b162d6ade4b893ee5e5ecdc9503660a5ed33ff2 | |
parent | 4a503042e37fe17e50c937fb501dd31ccec5d2b1 (diff) | |
download | chef-137874c445f808bb3d511c300313ed10cbd1f288.tar.gz |
[CHEF-3950] Fix wrong variable name in GemEnvironment#spec_from_file
Introduced by fab4a2a and fixed by f67808e5 in 11-stable.
-rw-r--r-- | chef/lib/chef/provider/package/rubygems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/provider/package/rubygems.rb b/chef/lib/chef/provider/package/rubygems.rb index 5b47532597..b451450a8c 100644 --- a/chef/lib/chef/provider/package/rubygems.rb +++ b/chef/lib/chef/provider/package/rubygems.rb @@ -122,7 +122,7 @@ class Chef # code into Gem::Package. def spec_from_file(file) if defined?(Gem::Format) - Gem::Format.from_file_by_path(source).spec + Gem::Format.from_file_by_path(file).spec else Gem::Package.new(file).spec end |