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

fog-aliyun is not compatible with Ruby 3.X #156

Closed
johha opened this issue Aug 4, 2022 · 1 comment · Fixed by #158
Closed

fog-aliyun is not compatible with Ruby 3.X #156

johha opened this issue Aug 4, 2022 · 1 comment · Fixed by #158

Comments

@johha
Copy link
Contributor

johha commented Aug 4, 2022

With Ruby 3.x this gem cannot be used anymore due to the following error:

undefined method `encode' for URI:Module

The encode method was removed with Ruby 3: https://docs.knapsackpro.com/2020/uri-escape-is-obsolete-percent-encoding-your-query-string

To reproduce the issue run the unit/integration test with ruby 3.x. This can be done for example by changing the version in .ruby-version to e.g. 3.0.4.

Open questions:

  • Does aliyun-sdk needs to be updated and test as well? Looks like last commit is ~2 years old.
@stephanme
Copy link

Thanks for merging #158 and releasing it as v0.4.0

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 a pull request may close this issue.

2 participants