<#138 deps: upgrade ruby to 3.3.1> Pull request op...
# pact-ruby-standalone
g
#138 deps: upgrade ruby to 3.3.1 Pull request opened by YOU54F • Upgrade ruby to 3.3.1 fixes #131 (segfaults on alpine) fixes #102 x86_64
Copy code
/home/pkg # ./pact/bin/pact
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
/home/pkg # apk add gcompat
fetch <https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz>
fetch <https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz>
(1/3) Installing musl-obstack (1.2.3-r2)
(2/3) Installing libucontext (1.2-r2)
(3/3) Installing gcompat (1.1.0-r4)
OK: 8 MiB in 18 packages
/home/pkg # ./pact/bin/pact
Commands:
  pact docs                                  # Generate Pact documentation in markdown
  pact help [COMMAND]                        # Describe available commands or one specific command
  pact verify -h, --pact-helper=PACT_HELPER  # Verify a pact

/home/pkg # ./pact/bin/pact-mock-service
mock WARN: Please note: we are tracking events anonymously to gather important usage statistics like Pact-Ruby version and operating system. To disable tracking, set the 'PACT_DO_NOT_TRACK' environment variable to 'true'.
INFO  WEBrick 1.8.1
INFO  ruby 3.3.1 (2024-04-23) [x86_64-linux]
INFO  WEBrick::HTTPServer#start: pid=88 port=42069
^CINFO  going to shutdown ...
INFO  WEBrick::HTTPServer#start done.
/home/pkg # exit
aarch64
Copy code
docker run --platform=linux/arm64 --rm -it -v $PWD:/home alpine
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
Digest: sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
Status: Downloaded newer image for alpine:latest
/ # apk add gcompat
fetch <https://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz>
fetch <https://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz>
cd(1/3) Installing musl-obstack (1.2.3-r2)
(2/3) Installing libucontext (1.2-r2)
(3/3) Installing gcompat (1.1.0-r4)
OK: 8 MiB in 18 packages
/home/pkg # pact/bin/pact-mock-service
mock WARN: Please note: we are tracking events anonymously to gather important usage statistics like Pact-Ruby version and operating system. To disable tracking, set the 'PACT_DO_NOT_TRACK' environment variable to 'true'.
INFO  WEBrick 1.8.1
INFO  ruby 3.3.1 (2024-04-23) [aarch64-linux]
INFO  WEBrick::HTTPServer#start: pid=10 port=40287
pact-foundation/pact-ruby-standalone ✅ All checks have passed 15/15 successful checks
g