summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-12 20:33:36 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-12 20:33:36 -0800
commitf4e1c6bf5c7976e7903d4a8aac503834626643de (patch)
tree5285dda5f726ea6c42e06fa445984cbd310c041e /Rakefile
parent0cc58f677238a09aefd8544de665fc9afc24fe30 (diff)
downloadffi-yajl-f4e1c6bf5c7976e7903d4a8aac503834626643de.tar.gz
the rbx work fixed ruby-1.8 c-ext
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 50ca1b8..4df9279 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"