ruby-orb icon indicating copy to clipboard operation
ruby-orb copied to clipboard

install-deps fails when caching is disabled

Open nkvojvodic opened this issue 2 years ago • 0 comments

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!

nkvojvodic avatar Sep 11 '23 19:09 nkvojvodic