Commit 69a75a55 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FIX(migrate from tag 2020-10-30-02): force use of vendor/cache directory for bundle install

parent 403d8bb3
......@@ -148,6 +148,17 @@ file_line { 'db:setup':
require => File[$_ds_project_directory],
}
# Modification of bin/setup file.
# Force use of vendor/cache directory for bundle install
file_line { 'bundle_install':
ensure => present,
path => "$_ds_project_directory/bin/setup",
line => " system('bundle check') || system!('bundle install --local')",
# system('bundle check') || system!('bundle install')
match => "system\('bundle check'\) \|\| system!\('bundle install'\)",
require => File[$_ds_project_directory],
}
# #############################################################################
# PREREQUISITES ruby
# Install rbenv
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment