Skip to content

Specify additional dependencies with Ruby build#809

Merged
THardy98 merged 2 commits intomainfrom
sdkbuild/ruby-local-path-gems
Apr 27, 2026
Merged

Specify additional dependencies with Ruby build#809
THardy98 merged 2 commits intomainfrom
sdkbuild/ruby-local-path-gems

Conversation

@THardy98
Copy link
Copy Markdown
Contributor

What was changed

DWISOTT

Why?

Allows support of arbitrary dependencies, including local dependencies.

@THardy98 THardy98 requested review from a team as code owners April 27, 2026 21:36
@THardy98 THardy98 force-pushed the sdkbuild/ruby-local-path-gems branch from f9bab19 to 4068cad Compare April 27, 2026 21:51
Comment thread sdkbuild/ruby.go
gemspec path: %q
`, version, sourceDir)
} else {
// No version constraint — Bundler resolves to latest from RubyGems
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was dropping support for temporalio without a version constraint intetional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so we're not dropping support for this, it's just that the code to do this is no longer in the conditional:

	gemfileLines := []string{`source "https://rubygems.org"`, ""}
	... branch conditionals where `version` is specified...
	gemfileLines = append(gemfileLines, fmt.Sprintf(`gemspec path: %q`, sourceDir), "")

because we did the same thing regardless of which conditional branch we went down

@THardy98 THardy98 merged commit 86e4c0d into main Apr 27, 2026
23 of 28 checks passed
@THardy98 THardy98 deleted the sdkbuild/ruby-local-path-gems branch April 27, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants