Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Feed gemspec into ExtensionTask so we get native.

  • Loading branch information...
commit 21f0edfecc6dee80ea17c14fbe3950b33cfc8265 1 parent 37e4843
@triangletodd triangletodd authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 Rakefile
View
5 Rakefile
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.