diff --git a/lib/moku/cached_bundle.rb b/lib/moku/cached_bundle.rb index cabe45e..c3332da 100644 --- a/lib/moku/cached_bundle.rb +++ b/lib/moku/cached_bundle.rb @@ -23,7 +23,9 @@ def initialize(path) def install(artifact) Sequence.for([ "rsync -r #{cache_path(artifact)}/. #{artifact.bundle_path}/", - "bundle install --deployment '--without=development test'", + "bundle config set deployment 'true'", + "bundle config set without 'development test'", + "bundle install", "rsync -r #{artifact.bundle_path}/. #{cache_path(artifact)}/", "bundle clean" ]) {|command| artifact.run(command) }