diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-12 20:33:36 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-12 20:33:36 -0800 |
commit | f4e1c6bf5c7976e7903d4a8aac503834626643de (patch) | |
tree | 5285dda5f726ea6c42e06fa445984cbd310c041e /Rakefile | |
parent | 0cc58f677238a09aefd8544de665fc9afc24fe30 (diff) | |
download | ffi-yajl-f4e1c6bf5c7976e7903d4a8aac503834626643de.tar.gz |
the rbx work fixed ruby-1.8 c-ext
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ namespace :spec do ENV['FORCE_FFI_YAJL'] = "ffi" t.pattern = FileList['spec/**/*_spec.rb'] end - if RUBY_VERSION.to_f >= 1.9 && RUBY_ENGINE !~ /jruby/ + if !defined?(RUBY_ENGINE) || RUBY_ENGINE !~ /jruby/ desc "Run all specs again c extension" RSpec::Core::RakeTask.new(:ext) do |t| ENV['FORCE_FFI_YAJL'] = "ext" |