-
Notifications
You must be signed in to change notification settings - Fork 194
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
OpenStudioCLI.Classic.Run_RubyOnly Test fails on Ruby 3.2.2 #5157
Comments
I think there is a second issue after addressing the HEREDOC. This one might stem from a mixup between fileutiles included with ruby and the bundled gem version of fileutiles. (I think both are present in the context of OpenStudio, but I'm not sure) Here is the callstack of the error... 3748: [22:18:31.824609 ERROR] Found error in state 'translator' with message ["wrong number of arguments (given 3, expected 2)::/ruby/3.2.0/fileutils.rb:883:in |
@DavidGoldwasser @wenyikuang @jmarrec I'm working on getting all of the ruby tests passing and this is on the critical path. |
What the heck?
|
Found it... Another awful thing we had to patch and that's broken with ruby 3 |
This is the important part of the test (failure) output.
I think the issue is that the workflow gem uses a HEREDOC where the closing tag is at the end of a line, instead of on a new line. My guess is that ruby 3.2.2 does not tolerate this.
Here is the relevant part of the WFG.
This issue could also be filed on the WFG repo, but since the test is failing from OpenStudio I'm just putting the issue up here.
The text was updated successfully, but these errors were encountered: