Skip to content

Instantly share code, notes, and snippets.

Created Aug 28, 2008
What would you like to do?
specs = {}
elements = %w[ merb extlib merb-core merb-more merb-action-args merb-assets merb-builder merb-cache merb-freezer merb-gen merb-haml merb-mailer merb-parts merb_activerecord merb_helpers merb_sequel merb_param_protection merb_test_unit merb_stories]
elements.each do |name|
dependency = name, nil do |spec|
specs[spec.full_name] = spec
deps = do |spec|{|d| "#{}" } end.flatten.uniq
print "Recursive dependencies: \n"
deps.each{|dep| print " #{dep}\n"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment