diff --git a/Rakefile b/Rakefile index 7b14cb3741..5bd3ef3766 100644 --- a/Rakefile +++ b/Rakefile @@ -43,6 +43,9 @@ namespace :gems do pkg_path = File.join(root_path, "pkg") Dir.mkdir(pkg_path) unless File.directory?(pkg_path) + license_path = File.join(root_path, "LICENSE") + FileUtils.cp(license_path, pkg_path) if File.file?(license_path) + GEMSPECS.each do |gemspec_path| puts "> Building #{gemspec_path}" Dir.chdir(File.dirname(gemspec_path)) do