Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Fix compatibility with Ruby 1.8
Browse files Browse the repository at this point in the history
While it is recommended to use Ruby 1.9 or 2.0 on workstation, we can
still try to be compatible with 1.8.

Thanks to @edwardchuang for finding this!
  • Loading branch information
tmatilai committed Dec 7, 2013
1 parent dcc48dc commit 0bcae4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/knife-solo/cookbook_manager_selector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def managers
end

def select_or_disable_by_chef_config!
managers.select! do |manager|
@managers = managers.select do |manager|
if (conf = manager.enabled_by_chef_config?)
Chef::Log.debug "#{manager} selected by configuration"
return manager
Expand Down

0 comments on commit 0bcae4a

Please sign in to comment.