rethinkdb / logstash-input-rethinkdb

Other
55 stars 13 forks source link

error installing #11

Open desktoping opened 8 years ago

desktoping commented 8 years ago

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

danielmewes commented 8 years ago

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

maeldur commented 8 years ago

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 commented 8 years ago

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

maeldur commented 8 years ago

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

sodabrew commented 8 years ago

Just uploaded eventmachine-1.2.0.1-java to Rubygems!