diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-08 15:41:18 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-09 09:16:06 -0800 |
commit | dae03acfd9f0956913e596fc1290e76e39ca3d91 (patch) | |
tree | 4e0f3418b4f043c57b428621a018fb91e6f1c4bf /lib/chef | |
parent | 3913addd011cee9126dfbaaf5ce804ce8aaf8928 (diff) | |
download | chef-dae03acfd9f0956913e596fc1290e76e39ca3d91.tar.gz |
rubocopisms
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/cookbook/gem_installer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/cookbook/gem_installer.rb b/lib/chef/cookbook/gem_installer.rb index 4211c61d2f..5b3014d449 100644 --- a/lib/chef/cookbook/gem_installer.rb +++ b/lib/chef/cookbook/gem_installer.rb @@ -48,7 +48,7 @@ class Chef inline_gemfile do source Chef::Config[:rubygems_url] cookbook_gems.each do |args| - gem *args + gem(*args) end end rescue Exception => e @@ -109,7 +109,7 @@ class Chef def inline_gemfile(&block) # requires https://github.com/bundler/bundler/pull/4245 gemfile(true, ui: ChefBundlerUI.new(events), &block) - rescue ArgumentError # Method#arity doesn't inspect optional arguments, so we rescue + rescue ArgumentError # Method#arity doesn't inspect optional arguments, so we rescue # requires bundler 1.10.0 gemfile(true, &block) end |