From 0eeadb07d084800dd8e35d5f669dd80322203e63 Mon Sep 17 00:00:00 2001 From: Charles Lowell <cowboyd@thefrontside.net> Date: Tue, 1 May 2012 15:04:47 -0700 Subject: [PATCH] fix the binary installation. --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 1da4544..e990c79 100644 --- a/Rakefile +++ b/Rakefile @@ -40,10 +40,10 @@ task :binary => :compile do gemspec.platform = Gem::Platform.new(RUBY_PLATFORM) # We don't need most things for the binary - gemspec.files = ['lib/libv8.rb', 'lib/arch.rb', 'lib/libv8/version.rb'] + gemspec.files = ['lib/libv8.rb', 'ext/libv8/arch.rb', 'lib/libv8/version.rb'] # V8 gemspec.files += Dir['vendor/v8/include/*'] - gemspec.files += Dir['vendor/v8/out/native/*'] + gemspec.files += Dir['vendor/v8/out/**/*.a'] FileUtils.mkdir_p 'pkg' FileUtils.mv(Gem::Builder.new(gemspec).build, 'pkg') end