Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changes while debugging compile of native extensions

  • Loading branch information...
commit 946b9e8b4ae22d1f0c7d2e40f823a10361e007b5 1 parent e71a658
@lazylester authored
View
3  damerau-levenshtein.gemspec
@@ -15,8 +15,7 @@ Gem::Specification.new do |s|
s.authors = ['Dmitry Mozzherin']
s.email = 'dmozzherin@gmail.com'
s.files = `git ls-files`.split("\n")
- s.extensions = ['ext/damerau-levenshtein/extconf.rb']
- s.executables = ['damerau_levenshtein_binding']
+ s.extensions = ['ext/damerau_levenshtein/extconf.rb']
s.add_dependency 'bundler', '~> 1.0'
s.add_dependency 'rake', '~> 10.0'
View
8 ext/damerau_levenshtein/extconf.rb
@@ -1,11 +1,9 @@
# Loads mkmf which is used to make makefiles for Ruby extensions
require 'mkmf'
-
-# Give it a name
-extension_name = 'damerau_levenshtein_binding'
+puts "I'm in the extconf file!!"
# The destination
-dir_config(extension_name)
+dir_config('damerau_levenshtein')
# Do the work
-create_makefile(extension_name)
+create_makefile('damerau_levenshtein/damerau_levenshtein_binding')
Please sign in to comment.
Something went wrong with that request. Please try again.