This is an automated email from the ASF dual-hosted git repository.

jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 414f9a5b Skip native extension for jruby
414f9a5b is described below

commit 414f9a5bf6372844274b0adee7263f4d03ed8e70
Author: Nephi Allred <nephi.all...@mx.com>
AuthorDate: Wed Jan 2 16:34:51 2019 -0700

    Skip native extension for jruby
---
 lib/rb/Rakefile | 1 +
 1 file changed, 1 insertion(+)

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 @@ end
 
 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"

Reply via email to