This PR fixes the usage of cache in the ci build. Even though cache was saved and restored, paths weren't correctly assigned.
That's because bundle install automatically saves dependencies under the default path defined via environment variables, in this case /usr/local/bundle. Changing it to vendor/bundle is the recommended way (bundle install --path vendor/bundle) but it breaks every test.
I also renamed cache keys/paths and added flags to bundle install to improve efficiency.
This PR fixes the usage of cache in the ci build. Even though cache was saved and restored, paths weren't correctly assigned.
That's because
bundle install
automatically saves dependencies under the default path defined via environment variables, in this case/usr/local/bundle
. Changing it tovendor/bundle
is the recommended way (bundle install --path vendor/bundle
) but it breaks every test.I also renamed cache keys/paths and added flags to bundle install to improve efficiency.