dblock/gem-licenses — Issue #2: undefined method `licenses' for Gem:Module 
Author: TLmaK0
Created: 2011-10-25 12:10:23+00:00
State: open

Hi,

when I execute "bundle exec rake licenses" it raises "undefined method `licenses' for Gem:Module"

this is the rake task:

task :licenses do
Gem.licenses.each do |license, gems|
puts "#{license}"
gems.sort_by { |gem| gem.name }.each do |gem|
puts "* #{gem.name} #{gem.version} (#{gem.homepage}) - #{gem.summary}"
end
end
end

Regards,
Hugo