ruby-orb
ruby-orb copied to clipboard
install-deps fails when caching is disabled
Orb version:
2.1.0
What happened:
ruby/install-deps fails when with-cache is set to false.
Failed job
Expected behavior:
Dependencies should be installed normally as they are with the cache turned on.
Additional Information:
It seems that the issue is that the Determine lock file step does not run when caching is disabled. That means that the $TARGET_DIR/ruby-project-lockfile is not created and the install-deps relies on that step to get the bundler version. I think that just enabling that step regardless of caching would resolve the issue.
Thanks!