Update manyfold-install.sh

This commit is contained in:
Bas van den Berg 2025-03-23 16:49:23 +01:00 committed by GitHub
parent 78397954bf
commit 4d89fa4b71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ RUBY_VERSION=$(cat .ruby-version)
YARN_VERSION=$(grep '"packageManager":' package.json | sed -E 's/.*"(yarn@[0-9\.]+)".*/\1/')
$STD gem install bundler
/bin/bash --login -c "rvm install $RUBY_VERSION"
sudo -u manyfold bash -c "source /etc/profile.d/rvm.sh && rvm use 3.4.1 && bundle install"
sudo -u manyfold bash -c "source /etc/profile.d/rvm.sh && rvm use $RUBY_VERSION && bundle install"
$STD gem install sidekiq
$STD npm install --global corepack
corepack enable