Skip to content

Conversation

schoblaska
Copy link
Contributor

I believe Logger::Unknown is undefined.

I tried adding a test for this by following the dev setup guide in the readme but I hit this error when trying to run a rake task:

Caused by:
RbSys::CargoMetadataError: Could not infer Rust crate information using `cargo metadata`.  Original error was:   RuntimeError: exited with non-zero status (pid 25778 exit 101)  Things to check:   - Check that your ext/*/Cargo.toml at is valid   - If you are using a workspace, make sure you are the root Cargo.toml exists   - Make sure `cargo` is installed and in your PATHStderr from `cargo metadata` was: (RbSys::CargoMetadataError)
  error: failed to load manifest for workspace member `/Users/joseph/projects/sdk-ruby/temporalio/./ext`
  referenced by workspace at `/Users/joseph/projects/sdk-ruby/temporalio/Cargo.toml`

  Caused by:
    failed to load manifest for dependency `temporal-client`

  Caused by:
    failed to read `/Users/joseph/projects/sdk-ruby/temporalio/ext/sdk-core/client/Cargo.toml`

  Caused by:
    No such file or directory (os error 2)

I believe `Logger::Unknown` is undefined.

I tried adding a test for this by following the dev setup guide in the readme but I hit this error when trying to run a rake task:

```
Caused by:
RbSys::CargoMetadataError: Could not infer Rust crate information using `cargo metadata`.  Original error was:   RuntimeError: exited with non-zero status (pid 25778 exit 101)  Things to check:   - Check that your ext/*/Cargo.toml at is valid   - If you are using a workspace, make sure you are the root Cargo.toml exists   - Make sure `cargo` is installed and in your PATHStderr from `cargo metadata` was: (RbSys::CargoMetadataError)
  error: failed to load manifest for workspace member `/Users/joseph/projects/sdk-ruby/temporalio/./ext`
  referenced by workspace at `/Users/joseph/projects/sdk-ruby/temporalio/Cargo.toml`

  Caused by:
    failed to load manifest for dependency `temporal-client`

  Caused by:
    failed to read `/Users/joseph/projects/sdk-ruby/temporalio/ext/sdk-core/client/Cargo.toml`

  Caused by:
    No such file or directory (os error 2)
```
@schoblaska schoblaska requested a review from a team as a code owner August 14, 2025 17:30
@CLAassistant
Copy link

CLAassistant commented Aug 14, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

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

Thanks! Will merge when CI passes.

@cretz
Copy link
Member

cretz commented Aug 14, 2025

I tried adding a test for this by following the dev setup guide in the readme but I hit this error when trying to run a rake task:

May need to clone recursively (i.e. with --recursive) and run a bundle install + bundle exec rake compile. All good, such a change even without test is acceptable.

@cretz
Copy link
Member

cretz commented Aug 14, 2025

(CI failures will be fixed with #317)

@cretz cretz merged commit d799d0b into temporalio:main Aug 14, 2025
8 checks passed
@schoblaska
Copy link
Contributor Author

May need to clone recursively (i.e. with --recursive)

Ah, that was it. It's right there in the readme too. Thanks :)

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.

3 participants