-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working