Open desktoping opened 8 years ago
I'm not sure why this is happening, but does it work when you retry after installing the eventmachine gem manually?
Hi there, i'm running into this too. trying to install event machine yields an error:
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/usr/local/Cellar/logstash21/2.1.2/libexec/vendor/jruby/bin/jruby -r ./siteconf20160318-28745-cy81w3.rb extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.
(root) at /usr/local/Cellar/logstash21/2.1.2/libexec/vendor/jruby/lib/ruby/shared/mkmf.rb:8
require at org/jruby/RubyKernel.java:1040
(root) at /usr/local/Cellar/logstash21/2.1.2/libexec/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
(root) at extconf.rb:2
extconf failed, uncaught signal 1
Gem files will remain installed in /usr/local/Cellar/logstash21/2.1.2/libexec/vendor/bundle/jruby/1.9/gems/eventmachine-1.2.0.1 for inspection.
Results logged to /usr/local/Cellar/logstash21/2.1.2/libexec/vendor/bundle/jruby/1.9/extensions/universal-java-1.8/1.9/eventmachine-1.2.0.1/gem_make.out
might be related to https://github.com/eventmachine/eventmachine/issues/702
i was able to get it to install by cloning your repo, pinning the eventmachine versions to 1.0.9.1 (in the gemspec and the gemfile), building the gem locally, and logstash-plugin-install on the resultant file
Just uploaded eventmachine-1.2.0.1-java to Rubygems!
also doing manual
gem install eventmachine
installs just fine. on OSX 10.10.5 any help with this issue is much appreciated. thanks