class Berkshelf::Installer

def download_locations(dependencies)

def download_locations(dependencies)
  dependencies.select(&:location).each do |dependency|
    unless dependency.location.installed?
      Berkshelf.formatter.fetch(dependency)
      dependency.location.install
    end
  end
end