From 59c4049bfac404a96303e870d768335dcc0f807e Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 27 Apr 2010 07:56:24 -0700 Subject: [PATCH] I guess ruby 1.9 is even more picky about this. Doing it the hard way. --- compass.gemspec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/compass.gemspec b/compass.gemspec index 1b63a269..e3f60990 100644 --- a/compass.gemspec +++ b/compass.gemspec @@ -1,8 +1,3 @@ -# I'd like to find a better way to do this, but it works for now. -Dir.glob("#{File.dirname(__FILE__)}/examples/*/clean.rb").each do |cleaner| - Kernel.load cleaner -end - $: << "#{File.dirname(__FILE__)}/lib" require 'compass' @@ -26,7 +21,8 @@ Gem::Specification.new do |gemspec| gemspec.files += Dir.glob("examples/**/*.*") gemspec.files -= Dir.glob("examples/**/*.css") gemspec.files -= Dir.glob("examples/**/*.html") - gemspec.files -= Dir.glob("examples/*/extensions/**") + gemspec.files -= Dir.glob("examples/*/extensions/**/*") + gemspec.files += Dir.glob("examples/css3/extensions/fancy-fonts/**/*") gemspec.files -= Dir.glob("examples/*/stylesheets/**/*.*") gemspec.files += Dir.glob("frameworks/**/*") gemspec.files += Dir.glob("lib/**/*")