-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Summary
It looks like the wasmtime 20.0.2 binary does not support Ruby 3.4.7. When installing via Bundler, the build fails with the error below.
Could you please add support for Ruby 3.4.7?
Steps to Reproduce
Use Ruby 3.4.7 (in our case, this happens during a Docker build).
Run bundle install (after updating RubyGems and installing Bundler).
Expected Behavior
bundle install succeeds on Ruby 3.4.7.
Actual Behavior
bundle install fails while installing wasmtime (20.0.2) with Gem::Ext::BuildError.
Error Log
53.73 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
53.73
53.73 current directory: /usr/local/bundle/gems/wasmtime-20.0.2/ext
53.73 /usr/local/bin/ruby extconf.rb
53.73 checking for gcc... yes
53.73 checking for g++... yes
53.73 checking for gcc-ar... yes
53.73 checking for cargo... no
53.73 checking for install_name_tool... no
53.73
53.73 current directory: /usr/local/bundle/gems/wasmtime-20.0.2/ext
53.73 make DESTDIR= sitearchdir=./.gem.20251216-1-36hv2o
53.73 sitelibdir=./.gem.20251216-1-36hv2o clean
53.73
53.73 current directory: /usr/local/bundle/gems/wasmtime-20.0.2/ext
53.73 make DESTDIR= sitearchdir=./.gem.20251216-1-36hv2o
53.73 sitelibdir=./.gem.20251216-1-36hv2o
53.73 /bin/sh: 1: curl: not found
53.73 /bin/sh: 1:
53.73 /usr/local/bundle/gems/wasmtime-20.0.2/ext/.rb-sys/stable/cargo/bin/rustup: not
53.73 found
53.73 /bin/sh: 1: @: not found
53.73 /bin/sh: 1: @: not found
53.73 make: *** [Makefile:557:
53.73 /usr/local/bundle/gems/wasmtime-20.0.2/ext/.rb-sys/stable/cargo/bin/cargo] Error
53.73 127
53.73
53.73 make failed, exit code 2
53.73
53.73 Gem files will remain installed in /usr/local/bundle/gems/wasmtime-20.0.2 for
53.73 inspection.
53.73 Results logged to
53.73 /usr/local/bundle/extensions/aarch64-linux/3.4.0/wasmtime-20.0.2/gem_make.out
53.73
53.73 An error occurred while installing wasmtime (20.0.2), and Bundler cannot
53.73 continue.
53.73
53.73 In Gemfile:
53.73 devcycle-ruby-server-sdk was resolved to 3.7.0, which depends on
53.73 wasmtime
------
Dockerfile:45
--------------------
44 |
45 | >>> RUN gem update --system && \
46 | >>> gem install bundler:${BUNDLER_VERSION} \
47 | >>> && bundle install
48 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -eo pipefail -c gem update --system && gem install bundler:${BUNDLER_VERSION} && bundle install" did not complete successfully: exit code: 5
Dependency Information
- devcycle-ruby-server-sdk 3.7.0 depends on wasmtime (20.0.2)
-Ruby: 3.4.7
Metadata
Metadata
Assignees
Labels
No labels