dependencies:
  override:
    - bundle install --without debug --path vendor/cache
test:
  override:
    - bundle exec rake test

dependencies:
  override:
    - bundle install --without debug --path vendor/cache
  cache_directories:
    - "vendor/cache"

test:
  override:
    - bundle exec rake test

Speed up build by explicitly caching vendored gem directory
Speed up build by explicitly caching vendored gem directory
