Permalink
Browse files

Feed gemspec into ExtensionTask so we get native.

  • Loading branch information...
triangletodd committed Oct 28, 2013
1 parent 37e4843 commit 21f0edfecc6dee80ea17c14fbe3950b33cfc8265
Showing with 4 additions and 1 deletion.
  1. +4 −1 Rakefile
View
@@ -5,8 +5,11 @@ require 'digest/md5'
task :default => [:test]
+# Gem Spec
+gem_spec = Gem::Specification.load('redcarpet.gemspec')
+
# Ruby Extension
-Rake::ExtensionTask.new('redcarpet')
+Rake::ExtensionTask.new('redcarpet', gem_spec)
# Packaging
require 'bundler/gem_tasks'

0 comments on commit 21f0edf

Please sign in to comment.