-
Notifications
You must be signed in to change notification settings - Fork 247
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
Fresh install of Ruby 3.2.1 and Ceedling 0.31.1 on Windows 10 fails with weird error. #758
Comments
Ruby 3.2 is not supported yet: #739 I suggest you either test ceedling 0.32 or you downgrade ruby to 3.1 |
Ah. Thanks. I'll do the downgrade. It's not fair to evaluate a package based on a pre-release. |
I'm kind of shocked that in a point release there's major, breaking API changes in Ruby, mind. That's ... serious cringe! |
Hello, |
There are published released gems (for that 0.32.0 version as pre-release https://github.com/ThrowTheSwitch/Ceedling/releases/tag/0.32.0-772f5f4) under Code/Releases (https://github.com/ThrowTheSwitch/Ceedling/releases) which you download and then simply use |
Is project directory already existing? I havent run that command for a long time. |
No, I want to create a new project. |
you are creating a new project named To update the project, that pull request says try: |
There is no "project" directory in current location. |
Moreover, if I create a dummy folder "project" and execute that command, it still gives the same error. Do I need to have source control inside my current project? Wouldn't ceedling execute under my local copy? |
I think that branch needs a fix as it is using invalid method to open a directory (it opens it as file). At least that's what Googling about the issue gives me. |
I see |
How about you make |
I did create empty project directory. Same result. |
OK, that is then the issue in that pre-release. I glanced over a code and could not find where root project directory is created (that is why i thought making a |
Which versions you would recommend me to start using ceedling with ruby? Please let me know ruby version and ceedling version. |
Latest Ceedling 0.31.1 is supported by ruby 3.1 versions. |
I installed ruby 3.1.4 and ceedling 0.32.0, looks like it is working now. Thanks for all your help. |
0.32.0 is still a pre-release and as you can see from the pull request it still has some issues. The 0.31.1 is the last release. Just as a side note. |
It doesnt say its an error, its just a deprecation warning. |
I installed msys64, and in msys64 installed ruby. I updated to the latest version of gem, then installed ceedling. Once I corrected a PATH issue, I experienced, in sequence:
ceedling example
,cd
ed to the generated directory, and got this:All the usual stuff to help figure out the problem:
uname -a
→ MINGW64_NT-10.0-19045 DESKTOP-HJV57MC 3.4.6.x86_64 2023-02-15 18:03 UTC x86_64 Msysruby --version
→ ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-cygwin]ceedling version
→ Ceedling:: 0.31.1 CMock:: 2.5.4 Unity:: 2.5.4 CException:: 1.3.3Is there a known-good pairing of Ruby version and Ceedling version so I can continue evaluating the suite?
The text was updated successfully, but these errors were encountered: