-
Notifications
You must be signed in to change notification settings - Fork 208
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
--bundle option does not work after Ruby 3.2.2 update #5161
Comments
Update. It looks like a gemfile that has a github source may still not work after the most recent commit. For example.
|
Here is the example of how we have tested it: https://github.com/NREL/docker-openstudio/blob/develop/test/test_gemfile.sh#L10-L11 |
Maybe found another bundler related issue: when I am updating openstudio-extension-gems I faced an issue:
Easiest way to re-produce:(using docker image nrel/openstudio:develop)
(This branch basically just pointing the dependencies to the github repo instead of the ruby-gems which we haven't pulished) Then in the directory of openstudio-extension-gem
(It may raise exception for Then we will find the issue:
And if we cat the log file it will raise:
And if we re-run the SYSTEM CALL:
System output:
The Error stack is re-producable. If we make a new empty Gemfile and run with the same osw file, the error will gone. However, if we add parallel as dependencies like in Gemfile
and
It will raise the same exceptions The content of the osw is:
Some guess:
|
I can reproduce all of this. I think these messages
are probably mostly benign and also expected. Some of the gem dependencies are pulling in addressable (2.8.6), but openstudio-gems is pinned to 2.8.1 because of an issue. The error message is stemming from here, which basically just means what it says, we can't activate an embedded gem because the bundle has pulled in a competing version. I'm not sure about the source of the original error though.
Still trying to sort it out. |
This does not work...
The text was updated successfully, but these errors were encountered: