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

Commit

Permalink
AE-9972 - Run bundle config set instead of --deployment
Browse files Browse the repository at this point in the history
Running `bundle install --deployment` is deprecated.
  • Loading branch information
daaang committed Jun 3, 2021
1 parent 8d6cb98 commit 0a0863d
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 0a0863d

Please sign in to comment.