logstash-input-rethinkdb icon indicating copy to clipboard operation
logstash-input-rethinkdb copied to clipboard

error installing

Open desktoping opened this issue 9 years ago • 5 comments
trafficstars

bin/plugin install logstash-input-rethinkdb 1 ↵ ✹ ✭ Validating logstash-input-rethinkdb Installing logstash-input-rethinkdb Error Bundler::InstallError, retrying 1/10 An error occurred while installing eventmachine (1.2.0.1), and Bundler cannot continue. Make sure that "gem install eventmachine -v '1.2.0.1"` succeeds before bundling.

also doing manual gem install eventmachine installs just fine. on OSX 10.10.5 any help with this issue is much appreciated. thanks

desktoping avatar Mar 17 '16 10:03 desktoping

I'm not sure why this is happening, but does it work when you retry after installing the eventmachine gem manually?

danielmewes avatar Mar 17 '16 20:03 danielmewes

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

maeldur avatar Mar 18 '16 16:03 maeldur

might be related to https://github.com/eventmachine/eventmachine/issues/702

maeldur avatar Mar 18 '16 16:03 maeldur

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

maeldur avatar Mar 18 '16 17:03 maeldur

Just uploaded eventmachine-1.2.0.1-java to Rubygems!

sodabrew avatar Mar 18 '16 18:03 sodabrew