I am trying to install JRuby (preferably version 1.7.13) onto a Raspberry Pi. I have rbenv/ruby-build installed. When I try to install JRuby (both 1.7.13 or 1.7.11), I get the following error:
pi@raspberrypi:~$ rbenv install jruby-1.7.13
Downloading jruby-bin-1.7.13.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/faa1cd590f32f3cb92044d9abedf66ccea1d93a24236c877810c9b30e1e0577c
Installing jruby-1.7.13...
BUILD FAILED
Inspect or clean up the working tree at /tmp/ruby-build.20140713094726.2669
Results logged to /tmp/ruby-build.20140713094726.2669.log
Last 10 log lines:
jruby-1.7.13/tool/nailgun/Makefile.in
jruby-1.7.13/tool/nailgun/ng.exe
jruby-1.7.13/tool/nailgun/README.txt
jruby-1.7.13/tool/nailgun/src/c/ng.c
/tmp/ruby-build.20140713094726.2669/jruby-1.7.13 /tmp/ruby-build.20140713094726.2669 ~
ERROR: Loading command: install (LoadError)
Could not load FFI Provider: (NotImplementedError) FFI not available: null
See http://jira.codehaus.org/browse/JRUBY-4583
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
Is it possible to build JFFI for Linux on ARM and how would should I go about doing that?