commit | 414f9a5bf6372844274b0adee7263f4d03ed8e70 | [log] [tgz] |
---|---|---|
author | Nephi Allred <nephi.allred@mx.com> | Wed Jan 02 16:34:51 2019 -0700 |
committer | James E. King III <jking@apache.org> | Fri Jan 04 21:33:31 2019 -0500 |
tree | 67409e9e308a684781aec9cbba374d327d3377ce | |
parent | abf3aa5810bc641f566b95b9748dabe2284baafb [diff] [blame] |
Skip native extension for jruby
diff --git a/lib/rb/Rakefile b/lib/rb/Rakefile index cdecaa6..5e5e5ac 100644 --- a/lib/rb/Rakefile +++ b/lib/rb/Rakefile
@@ -71,6 +71,7 @@ desc "Build the native library" task :build_ext => :'gen-rb' do + next if defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/ Dir::chdir(File::dirname('ext/extconf.rb')) do unless sh "ruby #{File::basename('ext/extconf.rb')}" $stderr.puts "Failed to run extconf"