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

Ruby 3.3 support #3559

Open
moleske opened this issue Dec 15, 2023 · 1 comment
Open

Ruby 3.3 support #3559

moleske opened this issue Dec 15, 2023 · 1 comment

Comments

@moleske
Copy link
Member

moleske commented Dec 15, 2023

Thanks for submitting an issue to cloud_controller_ng. We are always trying to improve! To help us, please fill out the following template.

Issue

Ruby 3.3 requires some changes based on quick tests with ruby-3.3.0-rc

Context

Two issues (so far) related to Regexp.new expecting 2 arguments but getting three

There may be more but this is what I hit so far

Steps to Reproduce

run bundle exec rake while using ruby 3.3

Expected result

it works

Current result

it's sad

Possible Fix

see context

name of issue screenshot

no

@moleske
Copy link
Member Author

moleske commented Dec 15, 2023

I think those are the only issues for bundle exec rake. Since there's no bosh ruby package yet I didn't bother trying to hack something for testing with CATS/SITS/BARAS

The terrible hacks I did to test that we definitely shouldn't do are

  • manually edit the cookiejar gem at gems/cookiejar-0.3.3/lib/cookiejar/cookie_validation.rb
  • copy and paste the chunk of code from the rfc822 into our code

see this aptly named branch for what I did (and let's not do what I did on the branch, or at least do it not so quick and dirty)
https://github.com/cloudfoundry/cloud_controller_ng/tree/terrible-things-to-get-to-ruby-3.3

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

No branches or pull requests

1 participant