Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Doesn't work on JRuby #712

Closed
Closed
Assignees
blowmage
Labels
api: pubsubIssues related to the Pub/Sub API.grpcstatus: acknowledgedstatus: blockedResolving the issue is dependent on other work.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
@barakcoh

Description

@barakcoh

Hi

Trying to upgrade my Logstash inputhttps://github.com/Wondermall/logstash-input-google-cloud-pubsub
Butgcloud-ruby's dependency ongoogle-protobuf is causing it to trigger a native extensions build which is not supported by JRuby, makinggcloud-ruby unusable for JRuby based environments which is a shame because it could be tremendously useful for Logstash.

I've triedJRUBY_OPTS="--2.0 -Xcext.enabled=true" but no dice, even thoughgoogle-protobuf does check theRUBY_PLATFORM and it looks to me it shouldn't be running the native extensions build but I'm no expert in gem building.

Building native extensions.  This could take a while...ERROR:  Error installing gcloud:    ERROR: Failed to build gem native extension.    /opt/logstash/vendor/jruby/bin/jruby -r ./siteconf20160524-809-1vt2zkd.rb extconf.rbNotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.   (root) at /opt/logstash/vendor/jruby/lib/ruby/shared/mkmf.rb:8  require at org/jruby/RubyKernel.java:1040   (root) at /opt/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1   (root) at extconf.rb:3extconf failed, uncaught signal 1Gem files will remain installed in /opt/logstash/vendor/bundle/jruby/1.9/gems/google-protobuf-3.0.0.alpha.5.0.5.1 for inspection.Results logged to /opt/logstash/vendor/bundle/jruby/1.9/extensions/universal-java-1.8/1.9/google-protobuf-3.0.0.alpha.5.0.5.1/gem_make.out

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.grpcstatus: acknowledgedstatus: blockedResolving the issue is dependent on other work.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp