Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

AE-9972 - Run bundle config set instead of --deployment #123

Merged
merged 1 commit into from
Jun 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/moku/cached_bundle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down