Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBM-derived SDKs need requirement updates. #50

Open
jaredm-ibm opened this issue Mar 5, 2021 · 1 comment
Open

IBM-derived SDKs need requirement updates. #50

jaredm-ibm opened this issue Mar 5, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jaredm-ibm
Copy link
Collaborator

When trying to use the VPC gem with Ruby 2.7 the http gem returns an error.

[3] pry(main)> connection.client.class.name
=> "IbmVpc::VpcV1"
[4] pry(main)> connection.client.list_instances
FrozenError: can't modify frozen String: ""
from /Users/jaredmca.ibm.com/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/http-4.1.1/lib/http/response/body.rb:52:in `force_encoding'

For IBM derived sdks the Gems and the required ibm_cloud_sdk both have HTTP 4.1 as a dependency . This needs to be updated. The bug is fixed in HTTP 4.3 (httprb/http#581), the latest is 4.4.1. There is already a PR in the upstream to fix this IBM/ruby-sdk-core#33, but that won't trickle down to the VPC & GlobalTags Gems until they are also updated.

@jaredm-ibm jaredm-ibm added the bug Something isn't working label Mar 5, 2021
@agrare
Copy link
Collaborator

agrare commented Mar 25, 2021

Fixed in IBM/vpc-ruby-sdk#1, pending release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants