-
Notifications
You must be signed in to change notification settings - Fork 495
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
Usage of $0 when using TeamCity Rake Runner #888
Comments
|
Yes I was also thinking of an ENV switch. I can try prototype something over the holidays and open a pull. I understand the reluctance to change from the $0. I was however curious if parallel would work with anything else than rake? Thanks for getting back to me and thanks for all the hard work over the years on your repos. |
not sure if that's what you meant, but parallel ships with an executable, the rake task is just a wrapper around that |
It breaks for us too, we just updated and we’re using an internal script to set up the context of projects and to reset state |
When using the rake runner build step in TeamCity we get an issue when
parallel_drop[XXX]
it calls the executing command via $0. which is the rakerunner. (this only broke after upgrading to Ruby 3.1)parallel_tests/lib/parallel_tests/tasks.rb
Line 160 in fc09051
The fix is to not use the rake runner and use a custom script in the build step, however I was curious if $0 should be used at all.
The text was updated successfully, but these errors were encountered: