use rbenv bundle
This commit is contained in:
parent
26019c0dac
commit
bc69ac837f
1 changed files with 3 additions and 3 deletions
|
@ -12,10 +12,10 @@ if [ ! -e '<%= @mastodon_home %>/.mastodon_install' ]; then
|
||||||
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/bin/rbenv' global '<%= @ruby_version %>'
|
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/bin/rbenv' global '<%= @ruby_version %>'
|
||||||
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/gem' install bundler --no-document
|
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/gem' install bundler --no-document
|
||||||
echo "Configuring bundle..."
|
echo "Configuring bundle..."
|
||||||
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/live/bin/bundle' config deployment 'true'
|
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/bundle' config deployment 'true'
|
||||||
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/live/bin/bundle' config without 'development test'
|
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/bundle' config without 'development test'
|
||||||
echo "Running bundle install..."
|
echo "Running bundle install..."
|
||||||
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/live/bin/bundle' install -j$(getconf _NPROCESSORS_ONLN)
|
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/bundle' install -j$(getconf _NPROCESSORS_ONLN)
|
||||||
echo "Running yarn install..."
|
echo "Running yarn install..."
|
||||||
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/live/bin/yarn' install --pure-lockfile
|
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/live/bin/yarn' install --pure-lockfile
|
||||||
echo $(date +s) > '<%= @mastodon_home %>/.mastodon_install'
|
echo $(date +s) > '<%= @mastodon_home %>/.mastodon_install'
|
||||||
|
|
Loading…
Reference in a new issue