lib/soloist/chef_config_generator.rb in soloist-0.9.2 vs lib/soloist/chef_config_generator.rb in soloist-0.9.3
- old
+ new
@@ -54,10 +54,10 @@
end
def solo_rb
all_cookbook_paths = cookbook_paths
cookbook_gems.each do |gem_cookbook|
- Kernel.require gem_cookbook
+ require gem_cookbook
all_cookbook_paths << Kernel.const_get(camelize(gem_cookbook)).const_get('COOKBOOK_PATH')
end
"cookbook_path #{all_cookbook_paths.inspect}"
end
\ No newline at end of file