aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoranmol26s <5068843+anmol26s@users.noreply.github.com>2019-01-15 02:25:48 +0530
committerGitHub <noreply@github.com>2019-01-15 02:25:48 +0530
commit95745611d4dd81ba87e2da36f4ce59875f475c2d (patch)
treecb86598924c6bbf892b3b7ebdd6d8e619204175b /scripts/install
parentf68fb1a2ef01937a47d698fbca05fdfbf6905821 (diff)
parent4c1e29326d639c198877c9f22d7a23b5c17eefdc (diff)
downloadmastodon_ynh-95745611d4dd81ba87e2da36f4ce59875f475c2d.tar.gz
mastodon_ynh-95745611d4dd81ba87e2da36f4ce59875f475c2d.tar.bz2
mastodon_ynh-95745611d4dd81ba87e2da36f4ce59875f475c2d.zip
Merge pull request #125 from yalh76/develop
Fix installation issue "Could not find 'bundler' (1.16.6)"
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install
index 62263db..8782cdb 100644
--- a/scripts/install
+++ b/scripts/install
@@ -206,11 +206,10 @@ chown -R "$app": "$final_path"
(
cd "$final_path/live"
su mastodon <<INSTALL
- $final_path/.rbenv/versions/2.5.3/bin/gem install bundler --no-ri --no-rdoc
+ $final_path/.rbenv/versions/2.5.3/bin/gem install bundler:1.16.6 --no-ri --no-rdoc
$final_path/live/bin/bundle install \
-j$(getconf _NPROCESSORS_ONLN) \
--deployment --without development test
- $final_path/live gem install bundler:1.16.6
yarn install --pure-lockfile
echo "SAFETY_ASSURED=1">> .env.production
RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet