@@ -98,8 +98,8 @@ gem install temporalio
98
98
99
99
** NOTE** : Only macOS ARM/x64 and Linux ARM/x64 are supported, and the platform-specific gem chosen is based on when the
100
100
gem/bundle install is performed. A source gem is published but cannot be used directly and will fail to build if tried.
101
- MinGW-based Windows and Linux MUSL do not have gems. See the [ Platform Support ] ( #platform-support ) section for more
102
- information.
101
+ MinGW-based Windows is not currently supported. There are caveats with the Google Protobuf dependency on musl-based
102
+ Linux. See the [ Platform Support ] ( #platform-support ) section for more information.
103
103
104
104
** NOTE** : Due to [ an issue] ( https://github.com/temporalio/sdk-ruby/issues/162 ) , fibers (and ` async ` gem) are only
105
105
supported on Ruby versions 3.3 and newer.
@@ -1047,21 +1047,27 @@ This SDK is backed by a Ruby C extension written in Rust leveraging the
1047
1047
[ Temporal Rust Core] ( https://github.com/temporalio/sdk-core ) . Gems are currently published for the following platforms:
1048
1048
1049
1049
* ` aarch64-linux `
1050
+ * ` aarch64-linux-musl `
1050
1051
* ` x86_64-linux `
1052
+ * ` x86_64-linux-musl `
1051
1053
* ` arm64-darwin `
1052
1054
* ` x86_64-darwin `
1053
1055
1054
- This means Linux and macOS for ARM and x64 have published gems. Currently, a gem is not published for
1055
- ` aarch64-linux-musl ` so Alpine Linux users may need to build from scratch or use a libc-based distro.
1056
+ This means Linux and macOS for ARM and x64 have published gems.
1056
1057
1057
1058
Due to [ an issue] ( https://github.com/temporalio/sdk-ruby/issues/172 ) with Windows and multi-threaded Rust, MinGW-based
1058
1059
Windows (i.e. ` x64-mingw-ucrt ` ) is not supported. But WSL is supported using the normal Linux gem.
1059
1060
1061
+ Due to [ an issue] ( https://github.com/protocolbuffers/protobuf/issues/16853 ) with Google Protobuf, latest Linux versions
1062
+ of Google Protobuf gems will not work in musl-based environments. Instead use the pure "ruby" platform which will build
1063
+ the Google Protobuf gem on install (e.g.
1064
+ ` gem 'google-protobuf', force_ruby_platform: RUBY_PLATFORM.include?('linux-musl') ` in the ` Gemfile ` ).
1065
+
1060
1066
At this time a pure source gem is published for documentation reasons, but it cannot be built and will fail if tried.
1061
1067
Building from source requires many files across submodules and requires Rust to be installed. See the [ Build] ( #build )
1062
1068
section for how to build a the repository.
1063
1069
1064
- The SDK works on Ruby 3.1 +, but due to [ an issue] ( https://github.com/temporalio/sdk-ruby/issues/162 ) , fibers (and
1070
+ The SDK works on Ruby 3.2 +, but due to [ an issue] ( https://github.com/temporalio/sdk-ruby/issues/162 ) , fibers (and
1065
1071
` async ` gem) are only supported on Ruby versions 3.3 and newer.
1066
1072
1067
1073
## Development
@@ -1070,7 +1076,7 @@ The SDK works on Ruby 3.1+, but due to [an issue](https://github.com/temporalio/
1070
1076
1071
1077
Prerequisites:
1072
1078
1073
- * [ Ruby] ( https://www.ruby-lang.org/ ) >= 3.1 (i.e. ` ruby ` and ` bundle ` on the ` PATH ` )
1079
+ * [ Ruby] ( https://www.ruby-lang.org/ ) >= 3.2 (i.e. ` ruby ` and ` bundle ` on the ` PATH ` )
1074
1080
* [ Rust] ( https://www.rust-lang.org/ ) latest stable (i.e. ` cargo ` on the ` PATH ` )
1075
1081
* This repository, cloned recursively
1076
1082
* Change to the ` temporalio/ ` directory
0 commit comments