Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CircleCI cache bundle install

Is there a way to cache my dependencies that I get from bundler (using bundle install)? I know there's the cache_dependencies command that I can use in circle.yml, but I'm not sure what pathway to pass to it.

For reference, in TravisCI, you can cache bundler by using

cache: bundler

like image 814
techalicious Avatar asked Aug 23 '26 18:08

techalicious


1 Answers

By default, CircleCI will cache vendor/bundle and ~/.bundle so if you let it run bundler for you everything should be cached automatically.

like image 188
Conor McDermottroe Avatar answered Aug 26 '26 23:08

Conor McDermottroe