aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-19 13:25:24 +0200
committeryalh76 <yalh@yahoo.com>2020-05-19 13:25:24 +0200
commitf4487bb3df27286b811579116af4decb8bd29fea (patch)
tree9f05981f16499a567941867979f226bd65cc94ce /scripts/install
parent4aafbbb86cd9110adce6506b93ba17463578c308 (diff)
downloadmastodon_ynh-f4487bb3df27286b811579116af4decb8bd29fea.tar.gz
mastodon_ynh-f4487bb3df27286b811579116af4decb8bd29fea.tar.bz2
mastodon_ynh-f4487bb3df27286b811579116af4decb8bd29fea.zip
fix bundle install
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index c359dfd..f6a1411 100644
--- a/scripts/install
+++ b/scripts/install
@@ -199,7 +199,9 @@ chown -R "$app": "$final_path"
pushd "$final_path/live"
ynh_use_nodejs
- bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test
+ bundle config deployment 'true'
+ bundle config without 'development test'
+ bundle install -j$(getconf _NPROCESSORS_ONLN)
yarn install --pure-lockfile
echo "SAFETY_ASSURED=1">> $config
RAILS_ENV=production bundle exec rails db:setup --quiet